Skip to content

Commit

Permalink
added social Apis response
Browse files Browse the repository at this point in the history
  • Loading branch information
tntra-priyanka committed Jan 16, 2024
1 parent 16a68cd commit 23712df
Show file tree
Hide file tree
Showing 5 changed files with 405 additions and 289 deletions.
173 changes: 101 additions & 72 deletions release/sample-jsons/assets/example_files/social/processflow1res.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"reg_records": [
{
"@context": {
"@vocab": "https://schema.spdci.org/extensions/ibr/v1",
"@vocab": "https://schema.spdci.org/extensions/social/v1",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"schema": "http://schema.org/",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
Expand All @@ -52,85 +52,114 @@
"identifier_value": "947951532"
}
],
"name": {
"@id": "Name",
"@type": "Name",
"surname": "Phumchai",
"given_name": "Sudarat",
"second_name": "",
"maiden_name": "",
"prefix": "Dr.",
"suffix": "PhD"
},
"household_status": "",
"benefiting_entity": "1",
"name": [
{
"@id": "Name",
"@type": "Name",
"surname": "Phumchai",
"given_name": "Sudarat",
"second_name": "",
"maiden_name": "",
"prefix": "Dr.",
"suffix": "PhD"
}
],
"sex": "female",
"birth_date": "1995-09-21T11:20:00",
"sub_region_code": "SH",
"marital_status": "M",
"poverty_score": "",
"is_disabled": "2",
"household_identifier": "",
"programme": [
{
"@id": "Programme",
"@type": "Programme",
"programme_name": "",
"programme_identifier": "",
"registration_date": "2022-09-21T11:20:00",
"enrolment_date": "2022-10-21T11:20:00",
"suspension_date": "2023-09-21T11:20:00",
"graduation_date": "2022-09-21T11:20:00",
"enrolment_status": "3"
},
{
"@id": "Programme",
"@type": "Programme",
"programme_name": "",
"programme_identifier": "",
"registration_date": "2022-10-21T11:20:00",
"enrolment_date": "2022-11-21T11:20:00",
"suspension_date": "2023-09-21T11:20:00",
"graduation_date": "2022-09-21T11:20:00",
"enrolment_status": "3"
}
"disability_identifier": {
"@id": "Identifier",
"@type": "Identifier",
"identifier_type": "UIN",
"identifier_value": "847951632"
},
"disability_type": [
"716710007"
],
"benefit": [
{
"@id": "Benefit",
"@type": "Benefit",
"benefit_type": "2",
"benefit_date": "2022-09-21T11:20:00",
"benefit_value": "EUR 85"
},
{
"@id": "Benefit",
"@type": "Benefit",
"benefit_type": "2",
"benefit_date": "2022-09-21T11:20:00",
"benefit_value": "EUR 110"
}
"functional_limitation_type": [
"d132"
],
"payroll": [
{
"@id": "Payroll",
"@type": "Payroll",
"payroll_amount": "EUR 250",
"payment_credit_date": "2010-09-21T11:20:00",
"payment_credit_amount": "EUR 85",
"payment_charges": "EUR 50",
"payment_status": "1"
},
"functional_severity": [
"0"
],
"nationality": [
"ISO 3166-2:AF"
],
"employment_status": "",
"is_deceased": "3",
"death_date": "",
"ethnicity": [],
"address": [
{
"@id": "Payroll",
"@type": "Payroll",
"payroll_amount": "EUR 120",
"payment_credit_date": "2011-09-21T11:20:00",
"payment_credit_amount": "EUR 70",
"payment_charges": "EUR 50",
"payment_status": "1"
"@id": "Address_1",
"@type": "Address",
"address_line1": "Bophut Koh Samui",
"address_line2": "Surat, Near Big Buddha Beach",
"locality": "Thani",
"sub_region_code": "SH",
"region_code": "A205",
"postal_code": "84320",
"country_code": "TH",
"geo_location": {
"@id": "GeoLocation_1",
"@type": "GeoLocation",
"plus_code": {
"global_code": "8FW4V900+",
"geometry": {
"@id": "geometry",
"@type": "GeoLocation",
"bounds": {
"@id": "bounds",
"@type": "geometry",
"northeast": {
"@id": "northeast",
"@type": "GeoCoordinates",
"latitude": 48.900000000000006,
"longitude": 2.4000000000000057
},
"southwest": {
"@id": "southwest",
"@type": "GeoCoordinates",
"latitude": 48.849999999999994,
"longitude": 2.3499999999999943
}
},
"location": {
"@id": "location",
"@type": "GeoCoordinates",
"latitude": 48.875,
"longitude": 2.375
}
}
}
}
}
]
],
"phone_number": [
"+1 (425) 555-1212",
"+1 (425) 555-1321"
],
"email": [
"PhumchaiS@isp.com"
],
"household_identifier": "",
"household_status": "1",
"poverty_score": "",
"parent1_identifier": {
"@id": "Identifier",
"@type": "Identifier",
"identifier_type": "UIN",
"identifier_value": "847951632"
},
"parent2_identifier": {
"@id": "Identifier",
"@type": "Identifier",
"identifier_type": "UIN",
"identifier_value": "847941632"
},
"registration_date": "2020-09-21T11:20:00",
"last_updated": ""
}
]
},
Expand Down
173 changes: 101 additions & 72 deletions release/sample-jsons/assets/example_files/social/processflow2res.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"reg_records": [
{
"@context": {
"@vocab": "https://schema.spdci.org/extensions/ibr/v1",
"@vocab": "https://schema.spdci.org/extensions/social/v1",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"schema": "http://schema.org/",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
Expand All @@ -52,85 +52,114 @@
"identifier_value": "947951532"
}
],
"name": {
"@id": "Name",
"@type": "Name",
"surname": "Phumchai",
"given_name": "Sudarat",
"second_name": "",
"maiden_name": "",
"prefix": "Dr.",
"suffix": "PhD"
},
"household_status": "",
"benefiting_entity": "1",
"name": [
{
"@id": "Name",
"@type": "Name",
"surname": "Phumchai",
"given_name": "Sudarat",
"second_name": "",
"maiden_name": "",
"prefix": "Dr.",
"suffix": "PhD"
}
],
"sex": "female",
"birth_date": "1995-09-21T11:20:00",
"sub_region_code": "SH",
"marital_status": "M",
"poverty_score": "",
"is_disabled": "2",
"household_identifier": "",
"programme": [
{
"@id": "Programme",
"@type": "Programme",
"programme_name": "",
"programme_identifier": "",
"registration_date": "2022-09-21T11:20:00",
"enrolment_date": "2022-10-21T11:20:00",
"suspension_date": "2023-09-21T11:20:00",
"graduation_date": "2022-09-21T11:20:00",
"enrolment_status": "3"
},
{
"@id": "Programme",
"@type": "Programme",
"programme_name": "",
"programme_identifier": "",
"registration_date": "2022-10-21T11:20:00",
"enrolment_date": "2022-11-21T11:20:00",
"suspension_date": "2023-09-21T11:20:00",
"graduation_date": "2022-09-21T11:20:00",
"enrolment_status": "3"
}
"disability_identifier": {
"@id": "Identifier",
"@type": "Identifier",
"identifier_type": "UIN",
"identifier_value": "847951632"
},
"disability_type": [
"716710007"
],
"benefit": [
{
"@id": "Benefit",
"@type": "Benefit",
"benefit_type": "2",
"benefit_date": "2022-09-21T11:20:00",
"benefit_value": "EUR 85"
},
{
"@id": "Benefit",
"@type": "Benefit",
"benefit_type": "2",
"benefit_date": "2022-09-21T11:20:00",
"benefit_value": "EUR 110"
}
"functional_limitation_type": [
"d132"
],
"payroll": [
{
"@id": "Payroll",
"@type": "Payroll",
"payroll_amount": "EUR 250",
"payment_credit_date": "2010-09-21T11:20:00",
"payment_credit_amount": "EUR 85",
"payment_charges": "EUR 50",
"payment_status": "1"
},
"functional_severity": [
"0"
],
"nationality": [
"ISO 3166-2:AF"
],
"employment_status": "",
"is_deceased": "3",
"death_date": "",
"ethnicity": [],
"address": [
{
"@id": "Payroll",
"@type": "Payroll",
"payroll_amount": "EUR 120",
"payment_credit_date": "2011-09-21T11:20:00",
"payment_credit_amount": "EUR 70",
"payment_charges": "EUR 50",
"payment_status": "1"
"@id": "Address_1",
"@type": "Address",
"address_line1": "Bophut Koh Samui",
"address_line2": "Surat, Near Big Buddha Beach",
"locality": "Thani",
"sub_region_code": "SH",
"region_code": "A205",
"postal_code": "84320",
"country_code": "TH",
"geo_location": {
"@id": "GeoLocation_1",
"@type": "GeoLocation",
"plus_code": {
"global_code": "8FW4V900+",
"geometry": {
"@id": "geometry",
"@type": "GeoLocation",
"bounds": {
"@id": "bounds",
"@type": "geometry",
"northeast": {
"@id": "northeast",
"@type": "GeoCoordinates",
"latitude": 48.900000000000006,
"longitude": 2.4000000000000057
},
"southwest": {
"@id": "southwest",
"@type": "GeoCoordinates",
"latitude": 48.849999999999994,
"longitude": 2.3499999999999943
}
},
"location": {
"@id": "location",
"@type": "GeoCoordinates",
"latitude": 48.875,
"longitude": 2.375
}
}
}
}
}
]
],
"phone_number": [
"+1 (425) 555-1212",
"+1 (425) 555-1321"
],
"email": [
"PhumchaiS@isp.com"
],
"household_identifier": "",
"household_status": "1",
"poverty_score": "",
"parent1_identifier": {
"@id": "Identifier",
"@type": "Identifier",
"identifier_type": "UIN",
"identifier_value": "847951632"
},
"parent2_identifier": {
"@id": "Identifier",
"@type": "Identifier",
"identifier_type": "UIN",
"identifier_value": "847941632"
},
"registration_date": "2020-09-21T11:20:00",
"last_updated": ""
}
]
},
Expand Down
Loading

0 comments on commit 23712df

Please sign in to comment.