-
Notifications
You must be signed in to change notification settings - Fork 6
/
receivingCollection.json
104 lines (104 loc) · 3.7 KB
/
receivingCollection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A collection of receiving items",
"type": "object",
"properties": {
"toBeReceived": {
"description": "List of receivings",
"id": "toBeReceived",
"type": "array",
"items": {
"type": "object",
"properties": {
"poLineId": {
"description": "The id of the receiving PO line",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"received": {
"description": "The number of items received",
"type": "integer"
},
"receivedItems": {
"description": "List of receiving items details",
"id": "receivedItems",
"type": "array",
"items": {
"type": "object",
"properties": {
"barcode": {
"description": "The barcode assigned to the item",
"type": "string"
},
"callNumber": {
"description": "The call number assigned to the piece",
"type": "string"
},
"comment": {
"description": "The free form notes pertaining to this item",
"type": "string"
},
"displaySummary": {
"description": "Display summary of the item",
"type": "string"
},
"itemStatus": {
"description": "The status of the item",
"$ref": "item_status.json"
},
"locationId": {
"description": "The id of the location",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
},
"holdingId": {
"description": "UUID of the holding record",
"$ref": "../../common/schemas/uuid.json"
},
"displayOnHolding": {
"description": "Whether or not receiving history should be displayed in holding record view",
"type": "boolean",
"default": false
},
"enumeration": {
"type": "string",
"description": "Enumeration is the descriptive information for the numbering scheme of a serial. Synchronized with inventory item."
},
"chronology": {
"type": "string",
"description": "Chronology is the descriptive information for the dating scheme of a serial. Synchronized with inventory item."
},
"copyNumber": {
"type": "string",
"description": "Copy number of the piece"
},
"pieceId": {
"description": "UUID of this piece record",
"type": "string",
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"
}
},
"required": [
"pieceId"
],
"additionalProperties": false
}
}
},
"required": [
"poLineId"
],
"additionalProperties": false
}
},
"totalRecords": {
"description": "The total number of receiving items in the list",
"type": "integer"
}
},
"additionalProperties": false,
"required": [
"toBeReceived",
"totalRecords"
]
}