Skip to content

Commit 22b807a

Browse files
updated model.yaml - support subproperties
1 parent 819df7d commit 22b807a

File tree

1 file changed

+91
-0
lines changed

1 file changed

+91
-0
lines changed

InventoryItem/model.yaml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
InventoryItem:
2+
description: Represent an item of the inventory inside a warehouse
3+
properties:
4+
availableTotal:
5+
description: The total available quantity of the item.
6+
type: integer
7+
x-ngsi:
8+
type: Property
9+
itemLocation:
10+
description: The location of the item.
11+
type: string
12+
x-ngsi:
13+
type: Property
14+
itemNumber:
15+
description: The unique identifier for the item.
16+
type: string
17+
x-ngsi:
18+
type: Property
19+
name:
20+
description: The name of the item.
21+
type: string
22+
x-ngsi:
23+
type: Property
24+
netWeight:
25+
description: The net weight of the item.
26+
type: number
27+
x-ngsi:
28+
type: Property
29+
onDelivery:
30+
description: The quantity of the item on delivery.
31+
type: integer
32+
x-ngsi:
33+
type: Property
34+
orderedBooked:
35+
description: The quantity of the item ordered and booked.
36+
type: integer
37+
x-ngsi:
38+
type: Property
39+
physicalAvailability:
40+
description: The physical availability of the item.
41+
type: integer
42+
x-ngsi:
43+
type: Property
44+
physicalBooked:
45+
description: The physical booked quantity of the item.
46+
type: integer
47+
x-ngsi:
48+
type: Property
49+
physicalStock:
50+
description: The physical stock of the item.
51+
type: integer
52+
x-ngsi:
53+
type: Property
54+
researchName:
55+
description: The research name of the item.
56+
type: string
57+
x-ngsi:
58+
type: Property
59+
site:
60+
description: The site where the item is located.
61+
type: string
62+
x-ngsi:
63+
type: Property
64+
totalOrdered:
65+
description: The total quantity ordered for the item.
66+
type: integer
67+
x-ngsi:
68+
type: Property
69+
type:
70+
description: The type of the entity (InventoryItem).
71+
type: string
72+
x-ngsi:
73+
type: Property
74+
warehouseID:
75+
description: The unique identifier for the warehouse.
76+
type: string
77+
x-ngsi:
78+
type: Property
79+
required:
80+
- id
81+
- type
82+
- warehouseID
83+
- itemNumber
84+
- physicalStock
85+
type: object
86+
x-derived-from: ''
87+
x-disclaimer: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the license conditions are met. Copyleft (c) 2025 Contributors to Smart Data Models Program
88+
x-license-url: https://github.com/smart-data-models/dataModel.PredictiveMaintenance/blob/master/InventoryItem/LICENSE.md
89+
x-model-schema: https://smart-data-models.github.io/dataModel.PredictiveMaintenance/InventoryItem/schema.json
90+
x-model-tags: maintenance
91+
x-version: 0.0.1

0 commit comments

Comments
 (0)