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

(-)a/api/v1/definitions/hold.json (-9 / +5 lines)
Lines 2-23 Link Here
2
  "type": "object",
2
  "type": "object",
3
  "properties": {
3
  "properties": {
4
    "reserve_id": {
4
    "reserve_id": {
5
      "description": "Internal hold identifier"
5
      "$ref": "../x-primitives.json#/reserve_id"
6
    },
6
    },
7
    "borrowernumber": {
7
    "borrowernumber": {
8
      "type": "string",
8
      "$ref": "../x-primitives.json#/borrowernumber"
9
      "description": "internally assigned user identifier"
10
    },
9
    },
11
    "reservedate": {
10
    "reservedate": {
12
      "description": "the date the hold was placed"
11
      "description": "the date the hold was placed"
13
    },
12
    },
14
    "biblionumber": {
13
    "biblionumber": {
15
      "type": "string",
14
      "$ref": "../x-primitives.json#/biblionumber"
16
      "description": "internally assigned biblio identifier"
17
    },
15
    },
18
    "branchcode": {
16
    "branchcode": {
19
      "type": ["string", "null"],
17
      "$ref": "../x-primitives.json#/branchcode"
20
      "description": "internally assigned branch identifier"
21
    },
18
    },
22
    "notificationdate": {
19
    "notificationdate": {
23
      "description": "currently unused"
20
      "description": "currently unused"
Lines 41-48 Link Here
41
      "description": "date and time the hold was last updated"
38
      "description": "date and time the hold was last updated"
42
    },
39
    },
43
    "itemnumber": {
40
    "itemnumber": {
44
      "type": ["string", "null"],
41
      "$ref": "../x-primitives.json#/itemnumber"
45
      "description": "internally assigned item identifier"
46
    },
42
    },
47
    "waitingdate": {
43
    "waitingdate": {
48
      "description": "the date the item was marked as waiting for the patron at the library"
44
      "description": "the date the item was marked as waiting for the patron at the library"
(-)a/api/v1/definitions/patron.json (-15 / +7 lines)
Lines 2-21 Link Here
2
  "type": "object",
2
  "type": "object",
3
  "properties": {
3
  "properties": {
4
    "borrowernumber": {
4
    "borrowernumber": {
5
      "type": "string",
5
      "$ref": "../x-primitives.json#/borrowernumber"
6
      "description": "internally assigned user identifier"
7
    },
6
    },
8
    "cardnumber": {
7
    "cardnumber": {
9
      "type": ["string", "null"],
8
      "$ref": "../x-primitives.json#/cardnumber"
10
      "description": "library assigned user identifier"
11
    },
9
    },
12
    "surname": {
10
    "surname": {
13
      "type": "string",
11
      "$ref": "../x-primitives.json#/surname"
14
      "description": "patron's last name"
15
    },
12
    },
16
    "firstname": {
13
    "firstname": {
17
      "type": ["string", "null"],
14
      "$ref": "../x-primitives.json#/firstname"
18
      "description": "patron's first name"
19
    },
15
    },
20
    "title": {
16
    "title": {
21
      "type": ["string", "null"],
17
      "type": ["string", "null"],
Lines 62-73 Link Here
62
      "description": "country of patron's primary address"
58
      "description": "country of patron's primary address"
63
    },
59
    },
64
    "email": {
60
    "email": {
65
      "type": ["string", "null"],
61
      "$ref": "../x-primitives.json#/email"
66
      "description": "primary email address for patron's primary address"
67
    },
62
    },
68
    "phone": {
63
    "phone": {
69
      "type": ["string", "null"],
64
      "$ref": "../x-primitives.json#/phone"
70
      "description": "primary phone number for patron's primary address"
71
    },
65
    },
72
    "mobile": {
66
    "mobile": {
73
      "type": ["string", "null"],
67
      "type": ["string", "null"],
Lines 130-137 Link Here
130
      "description": "patron's date of birth"
124
      "description": "patron's date of birth"
131
    },
125
    },
132
    "branchcode": {
126
    "branchcode": {
133
      "type": "string",
127
      "$ref": "../x-primitives.json#/branchcode"
134
      "description": "code of patron's home branch"
135
    },
128
    },
136
    "categorycode": {
129
    "categorycode": {
137
      "type": "string",
130
      "type": "string",
138
- 

Return to bug 16699