Koha/api/v1/swagger/definitions/library.json
Josef Moravec 99ad829f99 Bug 16497: Add missing field in definitions due to bug 18066
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-02-19 13:52:14 +00:00

90 lines
2.5 KiB
JSON

{
"type": "object",
"properties": {
"branchcode": {
"$ref": "../x-primitives.json#/branchcode"
},
"branchname": {
"type": "string",
"description": "Printable name of library"
},
"branchaddress1": {
"type": ["string", "null"],
"description": "the first address line of the library"
},
"branchaddress2": {
"type": ["string", "null"],
"description": "the second address line of the library"
},
"branchaddress3": {
"type": ["string", "null"],
"description": "the third address line of the library"
},
"branchzip": {
"type": ["string", "null"],
"description": "the zip or postal code of the library"
},
"branchcity": {
"type": ["string", "null"],
"description": "the city or province of the library"
},
"branchstate": {
"type": ["string", "null"],
"description": "the reqional state of the library"
},
"branchcountry": {
"type": ["string", "null"],
"description": "the county of the library"
},
"branchphone": {
"type": ["string", "null"],
"description": "the primary phone of the library"
},
"branchfax": {
"type": ["string", "null"],
"description": "the fax number of the library"
},
"branchemail": {
"type": ["string", "null"],
"description": "the primary email address of the library"
},
"branchreplyto": {
"type": ["string", "null"],
"description": "the email to be used as a Reply-To"
},
"branchreturnpath": {
"type": ["string", "null"],
"description": "the email to be used as Return-Path"
},
"branchurl": {
"type": ["string", "null"],
"description": "the URL for your library or branch's website"
},
"issuing": {
"type": ["integer", "null"],
"description": "unused in Koha"
},
"branchip": {
"type": ["string", "null"],
"description": "the IP address for your library or branch"
},
"branchprinter": {
"type": ["string", "null"],
"description": "unused in Koha"
},
"branchnotes": {
"type": ["string", "null"],
"description": "notes related to your library or branch"
},
"opac_info": {
"type": ["string", "null"],
"description": "HTML that displays in OPAC"
},
"geolocation": {
"type": ["string", "null"],
"description": "geolocation of your library"
}
},
"additionalProperties": false,
"required": ["branchcode", "branchname"]
}