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"
  }
]