Finder response schema - KostasMparmparousis/uLookup GitHub Wiki
Το παρακάτω JSON schema περιγράφει την δομή του response την οποία το Finder αναμένεται να επιστρέψει.
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"properties": {
"Response code": {
"type": "integer",
"examples": [
"100"
]
},
"message": {
"type": "string",
"examples": [
"No Conflicts Found"
]
},
"Affiliations": {
"type": "array",
"items": {
"type": "string"
}
},
"primaryAffiliation": {
"type": "string",
"examples": [
"staff"
]
}
}
}