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

(-)a/api/v1/swagger.json (+3 lines)
Lines 21-25 Link Here
21
  },
21
  },
22
  "parameters": {
22
  "parameters": {
23
    "$ref": "parameters.json"
23
    "$ref": "parameters.json"
24
  },
25
  "x-primitives": {
26
    "$ref": "x-primitives.json"
24
  }
27
  }
25
}
28
}
(-)a/api/v1/x-primitives.json (-1 / +41 lines)
Line 0 Link Here
0
- 
1
{
2
  "biblionumber": {
3
    "type": "string",
4
    "description": "internally assigned biblio identifier"
5
  },
6
  "borrowernumber": {
7
    "type": "string",
8
    "description": "internally assigned user identifier"
9
  },
10
  "branchcode": {
11
    "type": ["string", "null"],
12
    "description": "code of patron's home branch"
13
  },
14
  "cardnumber": {
15
    "type": ["string", "null"],
16
    "description": "library assigned user identifier"
17
  },
18
  "email": {
19
    "type": ["string", "null"],
20
    "description": "primary email address for patron's primary address"
21
  },
22
  "firstname": {
23
    "type": ["string", "null"],
24
    "description": "patron's first name"
25
  },
26
  "itemnumber": {
27
    "type": ["string", "null"],
28
    "description": "internally assigned item identifier"
29
  },
30
  "phone": {
31
    "type": ["string", "null"],
32
    "description": "primary phone number for patron's primary address"
33
  },
34
  "reserve_id": {
35
    "description": "Internal hold identifier"
36
  },
37
  "surname": {
38
    "type": "string",
39
    "description": "patron's last name"
40
  }
41
}

Return to bug 16699