View | Details | Raw Unified | Return to bug 17620
Collapse All | Expand All

(-)a/api/v1/swagger/definitions/patron.json (-6 / +10 lines)
Lines 121-127 Link Here
121
    },
121
    },
122
    "dateofbirth": {
122
    "dateofbirth": {
123
      "type": ["string", "null"],
123
      "type": ["string", "null"],
124
      "description": "patron's date of birth"
124
      "description": "patron's date of birth",
125
      "format": "date"
125
    },
126
    },
126
    "branchcode": {
127
    "branchcode": {
127
      "$ref": "../x-primitives.json#/branchcode"
128
      "$ref": "../x-primitives.json#/branchcode"
Lines 132-142 Link Here
132
    },
133
    },
133
    "dateenrolled": {
134
    "dateenrolled": {
134
      "type": ["string", "null"],
135
      "type": ["string", "null"],
135
      "description": "date the patron was added to Koha"
136
      "description": "date the patron was added to Koha",
137
      "format": "date"
136
    },
138
    },
137
    "dateexpiry": {
139
    "dateexpiry": {
138
      "type": ["string", "null"],
140
      "type": ["string", "null"],
139
      "description": "date the patron's card is set to expire"
141
      "description": "date the patron's card is set to expire",
142
      "format": "date"
140
    },
143
    },
141
    "gonenoaddress": {
144
    "gonenoaddress": {
142
      "type": ["string", "null"],
145
      "type": ["string", "null"],
Lines 148-154 Link Here
148
    },
151
    },
149
    "debarred": {
152
    "debarred": {
150
      "type": ["string", "null"],
153
      "type": ["string", "null"],
151
      "description": "until this date the patron can only check-in"
154
      "description": "until this date the patron can only check-in",
155
      "format": "date"
152
    },
156
    },
153
    "debarredcomment": {
157
    "debarredcomment": {
154
      "type": ["string", "null"],
158
      "type": ["string", "null"],
Lines 272-278 Link Here
272
    },
276
    },
273
    "lastseen": {
277
    "lastseen": {
274
      "type": ["string", "null"],
278
      "type": ["string", "null"],
275
      "description": "last time a patron has been seen (connected at the OPAC or staff interface)"
279
      "description": "last time a patron has been seen (connected at the OPAC or staff interface)",
280
      "format": "date"
276
    }
281
    }
277
  }
282
  }
278
}
283
}
279
- 

Return to bug 17620