Skip to content

Commit

Permalink
issue #218 - Modified the scale of values assigned to the SDG
Browse files Browse the repository at this point in the history
  • Loading branch information
davidelongo-ey committed Sep 13, 2024
1 parent 12dbe8e commit bc34c6e
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 82 deletions.
14 changes: 7 additions & 7 deletions doc/03_analysis/io_schema/IFS03.4-response.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"degree_class_code":"MSLM32",
"degree_class_name":"Ingegneria informatica",
"degree_course_duration_in_months":36,
"qualification_grade_value":100,
"qualification_grading_scale_minimum_grade":66,
"qualification_grading_scale_maximum_grade":110,
"qualification_grade_value":"100",
"qualification_grading_scale_minimum_grade":"66",
"qualification_grading_scale_maximum_grade":"110",
"qualification_date":"2022-07-01",
"access_to_regulated_profession":"Non applicabile",
"administering_institute_name":"Cagliari - Università degli studi",
Expand All @@ -29,17 +29,17 @@
"attended_learnings":[
{
"learning_grade_value": "28",
"learning_grading_scale_min": 18,
"learning_grading_scale_max": 30,
"learning_grading_scale_min": "18",
"learning_grading_scale_max": "30",
"learning_name": "Esame 1",
"learning_start_date": "2018-12-01",
"learning_end_date": "2019-03-01",
"learning_cfu": "6"
},
{
"learning_grade_value": "22",
"learning_grading_scale_min": 18,
"learning_grading_scale_max": 30,
"learning_grading_scale_min": "18",
"learning_grading_scale_max": "30",
"learning_name": "Esame 2",
"learning_start_date": "2018-06-01",
"learning_end_date": "2018-10-01",
Expand Down
2 changes: 1 addition & 1 deletion release-note.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- [IFS01,IFS06,IFS07] 06.09.2024 fixed examples with the cursor
- [IFS0X] 12.09.2024 issue #221 Removed min and max for enum types
- [IFS0X] 12.09.2024 issue #220 Removed min and max for date types

- [IFS0X] 13.09.2024 issue #218 Modified the scale of values assigned to the SDG cases by enabling the possibility of entering greading with 'letters' (Example: from A to D).

## Version 2.0.5
- [IFS01.2] It was added the curriculum description of the learnings list
Expand Down
46 changes: 20 additions & 26 deletions src/IFS02-iscrizioni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,16 +230,16 @@ paths:
- attended_learning_name: Esame 3
start_date: 2020-10-13
end_date: 2023-10-13
grade_value: 30
grading_scale_min: 18
grading_scale_max: 30
grade_value: '30'
grading_scale_min: '18'
grading_scale_max: '30'
ects_credits_received: 6
- attended_learning_name: Esame 4
start_date: 2020-10-13
end_date: 2023-10-13
grade_value: 30
grading_scale_min: 18
grading_scale_max: 30
grade_value: '30'
grading_scale_min: '18'
grading_scale_max: '30'
ects_credits_received: 6
- programme_type_code: MS
programme_type_name: Laurea Magistrale (DM 270/04)
Expand All @@ -253,16 +253,16 @@ paths:
- attended_learning_name: Esame 1
start_date: 2020-10-13
end_date: 2023-10-13
grade_value: 30
grading_scale_min: 18
grading_scale_max: 30
grade_value: '30'
grading_scale_min: '18'
grading_scale_max: '30'
ects_credits_received: 6
- attended_learning_name: Esame 2
start_date: 2020-10-13
end_date: 2023-10-13
grade_value: 30
grading_scale_min: 18
grading_scale_max: 30
grade_value: '30L'
grading_scale_min: '18'
grading_scale_max: '30'
ects_credits_received: 6
'400':
description: <b>Bad Request</b> - il server non può elaborare la richiesta del client a causa di una sintassi errata o di una richiesta non valida. <br> Esempi di cause
Expand Down Expand Up @@ -691,26 +691,20 @@ components:
grade_value:
type: string
description: Grade / Voto
example: '30'
minLength: 1
maxLength: 64
pattern: ^(\d+(.\d{1,2})?|\d+L|QUALIFIED)$
example: '28'
pattern: ^(\d+(.\d{1,2})?|\d+L|QUALIFIED|[A-Z])$
nullable: true
grading_scale_min:
type: number
format: float
minimum: 0
maximum: 9999
type: string
description: Minimum course grade / Voto minimo del corso
example: 18
example: '18'
pattern: ^(\d+(.\d{1,2})?|[A-Z])$
nullable: true
grading_scale_max:
type: number
format: float
minimum: 0
maximum: 9999
type: string
description: Highest course grade / Voto massimo del corso
example: 30
example: '30'
pattern: ^(\d+(.\d{1,2})?|[A-Z])$
nullable: true
ects_credits_received:
type: integer
Expand Down
56 changes: 23 additions & 33 deletions src/IFS03-titoli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ paths:
degree_class_name: Ingegneria informatica
academic_qualification_date: 2022-07-01
qualification_grade_value: '110'
qualification_grading_scale_minimum_grade: 66
qualification_grading_scale_maximum_grade: 110
qualification_grading_scale_minimum_grade: '66'
qualification_grading_scale_maximum_grade: '110'
academic_qualification_country: Italia
'400':
description: <b>Bad Request</b> - il server non può elaborare la richiesta del client a causa di una sintassi errata o di una richiesta non valida. <br> Esempi di cause
Expand Down Expand Up @@ -329,15 +329,15 @@ paths:
nqf_level: I ciclo QF-XXX
attended_learnings:
- learning_grade_value: '28'
learning_grading_scale_min: 18
learning_grading_scale_max: 30
learning_grading_scale_min: '18'
learning_grading_scale_max: '30'
learning_name: Analisi matematica I e Geometria
learning_start_date: '2018-12-01'
learning_end_date: '2019-03-01'
learning_cfu: '6'
- learning_grade_value: '22'
learning_grading_scale_min: 18
learning_grading_scale_max: 30
learning_grading_scale_min: '18'
learning_grading_scale_max: '30'
learning_name: Fisica sperimentale
learning_start_date: '2018-06-01'
learning_end_date: '2018-10-01'
Expand Down Expand Up @@ -497,7 +497,7 @@ components:
minimum: 0
maximum: 9999
example: 66
description: Minimum course grade / Voto minimo del corso
description: Minimum course grade / Voto minimo del corso
nullable: true
qualification_grading_scale_maximum_grade:
type: number
Expand All @@ -506,7 +506,7 @@ components:
maximum: 9999
nullable: true
example: 110
description: Highest course grade / Voto massimo del corso
description: Highest course grade / Voto massimo del corso
required:
- institute_code
- programme_type_code
Expand Down Expand Up @@ -609,23 +609,19 @@ components:
minLength: 1
maxLength: 32
example: '110'
pattern: ^(\d+(.\d{1,2})?|\d+L|QUALIFIED)$
pattern: ^(\d+(.\d{1,2})?|\d+L|QUALIFIED|[A-Z])$
nullable: true
qualification_grading_scale_minimum_grade:
type: number
format: float
minimum: 0
maximum: 9999
example: 66
description: Minimum course grade / Voto minimo del corso
type: string
example: '66'
description: Minimum course grade / Voto minimo del corso
pattern: ^(\d+(.\d{1,2})?|[A-Z])$
nullable: true
qualification_grading_scale_maximum_grade:
type: number
format: float
minimum: 0
maximum: 9999
example: 110
type: string
example: '110'
description: Highest course grade / Voto massimo del corso
pattern: ^(\d+(.\d{1,2})?|[A-Z])$
nullable: true
academic_qualification_country:
type: string
Expand Down Expand Up @@ -929,25 +925,19 @@ components:
type: string
description: Exam vote / Voto d'esame
example: '30'
minLength: 1
maxLength: 2048
pattern: ^(\d+(.\d{1,2})?|\d+L|QUALIFIED)$
pattern: ^(\d+(.\d{1,2})?|\d+L|QUALIFIED|[A-Z])$
nullable: true
learning_grading_scale_min:
type: number
format: float
minimum: 0
maximum: 9999
type: string
description: minimun Exam vote / Voto d'esame minimo
example: 18
example: '18'
pattern: ^(\d+(.\d{1,2})?|[A-Z])$
nullable: true
learning_grading_scale_max:
type: number
format: float
minimum: 0
maximum: 9999
type: string
description: Exam vote / Voto d'esame massimo
example: 30
example: '30'
pattern: ^(\d+(.\d{1,2})?|[A-Z])$
nullable: true
learning_name:
type: string
Expand Down
24 changes: 9 additions & 15 deletions src/IFS05-rettifica-titoli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ paths:
degree_class_code: MSLM32
academic_qualification_date: 2022-07-01
qualification_grade_value: '110'
qualification_grading_scale_minimum_grade: 66
qualification_grading_scale_maximum_grade: 110
qualification_grading_scale_minimum_grade: '66'
qualification_grading_scale_maximum_grade: '110'
issues:
- attribute_name: degree_course_code
issue_description: degree course code didn't find on the controlled vocabulary
Expand Down Expand Up @@ -715,27 +715,21 @@ components:
qualification_grade_value:
type: string
description: Grade obtained upon graduation / Voto ottenuto al conseguimento del titolo di studio
minLength: 1
maxLength: 32
example: '110'
pattern: ^(\d+(.\d{1,2})?|\d+L|QUALIFIED)$
pattern: ^(\d+(.\d{1,2})?|\d+L|QUALIFIED|[A-Z])$
nullable: true
qualification_grading_scale_minimum_grade:
type: number
format: float
minimum: 0
maximum: 9999
type: string
nullable: true
example: 66
example: '66'
description: Minimum course grade / Voto minimo del corso
pattern: ^(\d+(.\d{1,2})?|[A-Z])$
qualification_grading_scale_maximum_grade:
type: number
format: float
minimum: 0
maximum: 9999
type: string
nullable: true
example: 110
example: '110'
description: Highest course grade / Voto massimo del corso
pattern: ^(\d+(.\d{1,2})?|[A-Z])$
issues:
additionalProperties: false
type: array
Expand Down

0 comments on commit bc34c6e

Please sign in to comment.