Skip to content

Commit

Permalink
updated the io_schema json example
Browse files Browse the repository at this point in the history
  • Loading branch information
denismarini committed Feb 5, 2024
1 parent 887f14a commit 1f63e65
Show file tree
Hide file tree
Showing 19 changed files with 57 additions and 106 deletions.
8 changes: 4 additions & 4 deletions doc/03_analysis/io_schema/IFS02.1-request.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* Il person_id è prioritario rispetto al tax_code*/

/*ESEMPIO 1*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "",
"institute_code": "AA" /*Facoltativo*/
"person_id": "12345678A"
}

/*ESEMPIO 2*/
/*ESEMPIO 2 API IFS06*/
{
"tax_code": "",
"key": "8e44f796d7478a135c226598939d56a5b0d9405210235d4845ed158a7fec7535"
}
3 changes: 2 additions & 1 deletion doc/03_analysis/io_schema/IFS02.1-response.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/* Il person_id è prioritario rispetto al tax_code*/
{
"personal_data": {
"tax_code": "RSSMRA80A01F205D",
"person_id": "AB123456C",
/* I seguenti dati dello studente sono valorizzati solo in assenza di tax_code e person_id */
/* I seguenti dati dello studente sono valorizzati solo in assenza di tax_code e person_id - IFS06*/
"given_name": null,
"family_name": null,
"birth_date": null,
Expand Down
10 changes: 1 addition & 9 deletions doc/03_analysis/io_schema/IFS02.2-request.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
/*ESEMPIO 1*/

/* Il person_id è prioritario rispetto al tax_code*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "12345678A"
}

/*ESEMPIO 2*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "12345678A",
"institute_code": "AA" /*Facoltativo*/
}

8 changes: 2 additions & 6 deletions doc/03_analysis/io_schema/IFS02.2-response.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
/* Il person_id è prioritario rispetto al tax_code*/
{
"personal_data": {
"tax_code": "RSSMRA80A01F205D",
"person_id": "AB123456C",
/* I seguenti dati dello studente sono valorizzati solo in assenza di tax_code e person_id */
"given_name": null,
"family_name": null,
"birth_date": null,
"birth_place": null
"person_id": "AB123456C"
},
"proof_enrollments": [
{
Expand Down
9 changes: 2 additions & 7 deletions doc/03_analysis/io_schema/IFS02.3-request.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
/*ESEMPIO 1*/

/* Il person_id è prioritario rispetto al tax_code*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "12345678A"
}

/*ESEMPIO 2*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "12345678A",
"institute_code": "AA" /*Facoltativo*/
}


8 changes: 2 additions & 6 deletions doc/03_analysis/io_schema/IFS02.3-response.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
/* Il person_id è prioritario rispetto al tax_code*/
{
"personal_data": {
"tax_code": "RSSMRA80A01F205D",
"person_id": "AB123456C",
/* I seguenti dati dello studente sono valorizzati solo in assenza di tax_code e person_id */
"given_name": null,
"family_name": null,
"birth_date": null,
"birth_place": null
"person_id": "AB123456C"
},
"proof_education_course": {
"programme_type_code": "MS",
Expand Down
9 changes: 1 addition & 8 deletions doc/03_analysis/io_schema/IFS02.4-request.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
/*ESEMPIO 1*/

/* Il person_id è prioritario rispetto al tax_code*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "12345678A"
}

/*ESEMPIO 2*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "12345678A",
"institute_code": "AA" /*Facoltativo*/
}

8 changes: 2 additions & 6 deletions doc/03_analysis/io_schema/IFS02.4-response.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
/* Il person_id è prioritario rispetto al tax_code*/
{
"personal_data": {
"tax_code": "RSSMRA80A01F205D",
"person_id": "AB123456C",
/* I seguenti dati dello studente sono valorizzati solo in assenza di tax_code e person_id */
"given_name": null,
"family_name": null,
"birth_date": null,
"birth_place": null
"person_id": "AB123456C"
},
"proof_admissions": [
{
Expand Down
11 changes: 2 additions & 9 deletions doc/03_analysis/io_schema/IFS02.5-request.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
/*ESEMPIO 1*/

/* Il person_id è prioritario rispetto al tax_code*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "12345678A"
}

/*ESEMPIO 2*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "12345678A",
"institute_code": "AA" /*Facoltativo*/
}



46 changes: 21 additions & 25 deletions doc/03_analysis/io_schema/IFS02.5-response.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
/* Il person_id è prioritario rispetto al tax_code*/
{
"personal_data":{
"tax_code":"RSSMRA80A01F205D",
"person_id":"AB123456C",
/* I seguenti dati dello studente sono valorizzati solo in assenza di tax_code e person_id */
"given_name": null,
"family_name": null,
"birth_date": null,
"birth_place": null
},
"proof_mobility_periods":[
{
"eqf_level":"Livello 7",
"mobility_start_date":"2020-05-17",
"mobility_end_date":"2021-05-17",
"mobility_period_type":"Lungo termine",
"destination_institute_name":"Universidad Politecnica de Madrid",
"destination_erasmus_code":"VALENCI02",
"departure_institute_name":"Politecnico di Milano",
"departure_erasmus_code":"MILANO02",
"destination_department":"Faculty of Science & Engineering",
"departure_department":"Dipartimento di Ingegneria Industriale",
"destination_country":"Spagna",
"departure_country":"Italia"
}
]
"personal_data":{
"tax_code":"RSSMRA80A01F205D",
"person_id":"AB123456C"
},
"proof_mobility_periods":[
{
"eqf_level":"Livello 7",
"mobility_start_date":"2020-05-17",
"mobility_end_date":"2021-05-17",
"mobility_period_type":"Lungo termine",
"destination_institute_name":"Universidad Politecnica de Madrid",
"destination_erasmus_code":"VALENCI02",
"departure_institute_name":"Politecnico di Milano",
"departure_erasmus_code":"MILANO02",
"destination_department":"Faculty of Science & Engineering",
"departure_department":"Dipartimento di Ingegneria Industriale",
"destination_country":"Spagna",
"departure_country":"Italia"
}
]
}
4 changes: 3 additions & 1 deletion doc/03_analysis/io_schema/IFS03.1-request.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@

/* ESEMPIO 1 Il person_id è prioritario rispetto al tax_code*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "12345678A"
}


/*ESEMPIO 2 API IFS07*/
{
"key": "8e44f796d7478a135c226598939d56a5b0d9405210235d4845ed158a7fec7535"
}
3 changes: 2 additions & 1 deletion doc/03_analysis/io_schema/IFS03.1-response.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/* Il person_id è prioritario rispetto al tax_code*/
{
"personal_data": {
"tax_code": "RSSMRA80A01F205D",
"person_id": "AB123456C",
/* I seguenti dati dello studente sono valorizzati solo in assenza di tax_code e person_id */
/* I seguenti dati dello studente sono valorizzati solo in assenza di tax_code e person_id - IFS07*/
"given_name": null,
"family_name": null,
"birth_date": null,
Expand Down
4 changes: 2 additions & 2 deletions doc/03_analysis/io_schema/IFS03.2-request.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Il person_id è prioritario rispetto al tax_code*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "",
"institute_code": "AA" /*Facoltativo*/
"person_id": "12345678A"
}
8 changes: 2 additions & 6 deletions doc/03_analysis/io_schema/IFS03.2-response.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
/* Il person_id è prioritario rispetto al tax_code*/
{
"personal_data": {
"tax_code": "RSSMRA80A01F205D",
"person_id": "AB123456C",
/* I seguenti dati dello studente sono valorizzati solo in assenza di tax_code e person_id */
"given_name": null,
"family_name": null,
"birth_date": null,
"birth_place": null
"person_id": "AB123456C"
},
"proof_qualifications": [
{
Expand Down
4 changes: 2 additions & 2 deletions doc/03_analysis/io_schema/IFS03.3-request.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Il person_id è prioritario rispetto al tax_code*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "",
"institute_code": "AA" /*Facoltativo*/
"person_id": "12345678A"
}
1 change: 1 addition & 0 deletions doc/03_analysis/io_schema/IFS03.3-response.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
/* Il person_id è prioritario rispetto al tax_code*/
"personal_data": {
"tax_code": "RSSMRA80A01F205D",
"person_id": "AB123456C",
Expand Down
8 changes: 4 additions & 4 deletions doc/03_analysis/io_schema/IFS03.4-request.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Il person_id è prioritario rispetto al tax_code*/
{
"tax_code": "RSSMRA80A01F205D",
"person_id": "",
"institute_code": "AA" /*Facoltativo*/
}
"tax_code": "RSSMRA80A01F205D",
"person_id": "12345678A"
}
8 changes: 2 additions & 6 deletions doc/03_analysis/io_schema/IFS03.4-response.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
/* Il person_id è prioritario rispetto al tax_code*/
{
"personal_data":{
"tax_code":"RSSMRA80A01F205D",
"person_id":"AB123456C",
/* I seguenti dati dello studente sono valorizzati solo in assenza di tax_code e person_id */
"given_name": null,
"family_name": null,
"birth_date": null,
"birth_place": null
"person_id":"AB123456C"
},
"proof_qualifications_diploma_supplement":[
{
Expand Down
3 changes: 0 additions & 3 deletions doc/03_analysis/io_schema/IFS04.2-response.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/* Con file_code - restituisce solamente il singolo item*/


{
"enrollment_change_request": [
{
Expand All @@ -12,7 +10,6 @@
}

/* Senza file_code - restituisce tutto*/

{
"enrollment_change_request": [
{
Expand Down

0 comments on commit 1f63e65

Please sign in to comment.