Last active
December 20, 2021 11:29
-
-
Save ioggstream/62d3f56c368c51886d9cc141fc8c7939 to your computer and use it in GitHub Desktop.
Attach context with vocabularies to a schema.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"@base": "http://api.example#", | |
"@vocab": "http://w3id.org/italia/onto/CPV/", | |
"id_pratica":"@id", | |
"documento_richiesto": { | |
"@id": "hasEducationLevel", | |
"@type": "@id", | |
"@context": { | |
"@base": "http://w3id.org/italia/controlled-vocabulary/classifications-for-people/education-level" | |
} | |
}, | |
"given_name": "givenName", | |
"tax_code": "@id", | |
"date_of_birth": "dateOfBirth", | |
"birth_place": { | |
"@id": "hasBirthPlace", | |
"@context": { | |
"@vocab": "http://w3id.org/italia/onto/CLV/", | |
"city": "hasCity", | |
"province": { | |
"@id": "hasProvince", | |
"@type": "@id", | |
"@context": { | |
"@base": "https://w3id.org/italia/data/identifiers/provinces-identifiers/vehicle-code/" | |
} | |
} | |
} | |
} | |
}, | |
"id_pratica": "12345", | |
"documento_richiesto": "NED", | |
"richiedente": { | |
"given_name": "Roberto", | |
"family_name": "Polli", | |
"tax_code": "PLLRRT", | |
"date_of_birth": "2020-12-12", | |
"birth_place": { | |
"city": "Latina", | |
"province": "LT" | |
} | |
}, | |
"soggetto": { | |
"tax_code": "MRORSS", | |
"given_name": "Mario", | |
"family_name": "Rossi" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment