d7407055a8
Fixes among others the invalid use of json_has() which caused broken tests to pass with older Mojolicious versions. Signed-off-by: Mason James <mason@kohaaloha.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"biblio_id": {
|
|
"type": "integer",
|
|
"description": "Internal biblio identifier"
|
|
},
|
|
"patron_id": {
|
|
"type": "integer",
|
|
"description": "Internal patron identifier"
|
|
},
|
|
"library_id": {
|
|
"type": "string",
|
|
"description": "internally assigned library identifier",
|
|
"maxLength": 10,
|
|
"minLength": 1
|
|
},
|
|
"cardnumber": {
|
|
"type": ["string", "null"],
|
|
"description": "library assigned user identifier"
|
|
},
|
|
"city_id": {
|
|
"type": "integer",
|
|
"description": "internally assigned city identifier",
|
|
"readOnly": true
|
|
},
|
|
"email": {
|
|
"type": ["string", "null"],
|
|
"description": "primary email address for patron's primary address"
|
|
},
|
|
"firstname": {
|
|
"type": ["string", "null"],
|
|
"description": "patron's first name"
|
|
},
|
|
"phone": {
|
|
"type": ["string", "null"],
|
|
"description": "primary phone number for patron's primary address"
|
|
},
|
|
"surname": {
|
|
"type": ["string", "null"],
|
|
"description": "patron's last name"
|
|
},
|
|
"vendor_id": {
|
|
"type": "integer",
|
|
"description": "internally assigned vendor identifier",
|
|
"readOnly": true
|
|
},
|
|
"fund_id": {
|
|
"type": "integer",
|
|
"description": "internally assigned fund identifier",
|
|
"readOnly": true
|
|
}
|
|
|
|
}
|