-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathonem2m.m.printqueue.json
More file actions
48 lines (48 loc) · 1.68 KB
/
onem2m.m.printqueue.json
File metadata and controls
48 lines (48 loc) · 1.68 KB
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
{
"id": "http://openinterconnect.org/onem2mmapping/schemas/onem2m.m.printqueue.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description" : "Copyright (c) 2018 Open Connectivity Foundation, Inc. All rights reserved.",
"title": "Print Queue",
"definitions": {
"onem2m.m.printqueue": {
"type": "object",
"properties": {
"uri": {
"type": "string",
"description": "The URI of the printing file.",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.printer.queue",
"x-to-ocf": [
"For each item in the array of queue items from onem2m.m.printqueue",
"oic.r.print.queueitem[i].uri = uri[i]"
],
"x-from-ocf": [
"For each item in the array of queue items from oic.r.printer.queue",
"uri[i] = oic.r.print.queueitem[i].uri"
]
}
},
"printingState": {
"type": "string",
"description": "The printingState is indicating the status of the printing file.",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.printer.queue",
"x-to-ocf": [
"For each item in the array of queue items from onem2m.m.printqueue",
"oic.r.print.queueitem[i].status = printingStatus[i]"
],
"x-from-ocf": [
"For each item in the array of queue items from oic.r.printer.queue",
"printingStatus[i] = oic.r.print.queueitem[i].status"
]
}
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "#/definitions/onem2m.m.printqueue"}
],
"required": [ "uri", "printingState" ]
}