Patron Metadata Object
The Patron metadata object has the following properties:
field
string
Contains the metadata type name; for example, patronType, pCode and so on.
Example:
"field": "patronType" or "field": "pcode1"
values
array
Contains the patron metadata and consists of two elements: a code and a descriptor.
Example:
"values": [ { "code": "0", "desc": "Adult 21 day" }, { "code": "1", "desc": "Non-Circulating" }, { "code": "2", "desc": "STAFF" } ]
code
string
Contains the reference number of the patron metadata returned. Generally, it is either a single number or character, depending on the field type.
Example:
"code": "1"
desc
string
Contains a textual description of the patron metadata returned..
Example:
"desc": "STAFF"