Skip to content

Commit

Permalink
IFS04.1/5.1 aggiunta campo degree_course_code + fix swagger + modific…
Browse files Browse the repository at this point in the history
…a json
  • Loading branch information
davidelongo-ey committed Jun 19, 2024
1 parent a28b391 commit c62924f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
1 change: 1 addition & 0 deletions doc/03_analysis/io_schema/IFS04.1-request.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"tax_code": "RSSMRA80A01F205D",
"person_id":"12345678A",
"degree_course_code": "1573960",
"reason": "Modifica iscrizione xxx",
"attributes": [
{
Expand Down
1 change: 1 addition & 0 deletions doc/03_analysis/io_schema/IFS05.1-request.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"tax_code": "RSSMRA80A01F205D",
"person_id":"",
"degree_course_code": "1573960",
"reason": "Modifica iscrizione xxx",
"attributes": [
{
Expand Down
16 changes: 13 additions & 3 deletions src/IFS04-rettifica-iscrizioni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ paths:
value:
tax_code: RSSMRA80A01F205D
person_id: 12345678A
degree_course_code: '1573960'
reason: Modifica iscrizione xxx
attributes:
- attribute_name: institute_Name
Expand Down Expand Up @@ -345,6 +346,11 @@ components:
pattern: "^[A-Z0-9]{9}$"
example: AB123456C
nullable: true
degree_course_code:
type: string
description: Course code / Codice del corso
minLength: 1
maxLength: 20
reason:
type: string
description: change request description / Descrizione della richiesta di rettifica
Expand Down Expand Up @@ -398,7 +404,11 @@ components:
personal_data:
$ref: '#/components/schemas/personal_data'
enrollments:
$ref: '#/components/schemas/enrollments'
type: array
minItems: 0
description: List of enrollments for student / Elenco iscrizioni di una studentessa o di uno studente
items:
$ref: '#/components/schemas/enrollments'
personal_data:
type: object
nullable: true
Expand Down Expand Up @@ -461,7 +471,7 @@ components:
items:
$ref: '#/components/schemas/issue'
enrollments:
type: array
type: object
additionalProperties: false
description: Detailed enrollment information / Informazioni dettagliate sull'iscrizione
properties:
Expand All @@ -474,7 +484,7 @@ components:
nullable: true
institute_name:
type: string
description: Institute's name / Denominazione dellistituto
description: Institute's name / Denominazione dell'istituto
example: 'Milano - Politecnico'
minLength: 1
maxLength: 2048
Expand Down
13 changes: 11 additions & 2 deletions src/IFS05-rettifica-titoli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ paths:
value:
tax_code: RSSMRA80A01F205D
person_id: 12345678A
degree_course_code: '1573960'
reason: Modifica iscrizione xxx
attributes:
- attribute_name: institute_Name
Expand Down Expand Up @@ -387,6 +388,11 @@ components:
pattern: "^[A-Z0-9]{9}$"
example: AB123456C
nullable: true
degree_course_code:
type: string
description: Course code / Codice del corso
minLength: 1
maxLength: 20
reason:
type: string
description: change request description / Descrizione richiesta di rettifica
Expand Down Expand Up @@ -574,7 +580,10 @@ components:
personal_data:
$ref: '#/components/schemas/personal_data'
qualifications:
$ref: '#/components/schemas/qualifications'
type: array
minItems: 0
items:
$ref: '#/components/schemas/qualifications'
personal_data:
type: object
nullable: true
Expand Down Expand Up @@ -637,7 +646,7 @@ components:
items:
$ref: '#/components/schemas/issue'
qualifications:
type: array
type: object
additionalProperties: false
description: Degree detail / Dettaglio titolo
properties:
Expand Down

0 comments on commit c62924f

Please sign in to comment.