Proposer response schema - KostasMparmparousis/uLookup GitHub Wiki
Το παρακάτω JSON schema περιγράφει την δομή του response την οποία το Proposer αναμένεται να επιστρέψει.
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"properties": {
"Response code": {
"type": "integer",
"examples": [
"100"
]
},
"message": {
"type": "string",
"examples": [
"Person already owns a loginName. Also the following loginNames are available."
]
},
"personPairedWith": {
"type": "array",
"items": {
"type": "string"
}
},
"suggestions": {
"type": "array",
"items": {
"type": "string"
}
}
}
}