Skip to content

Commit 4f90ec3

Browse files
updated InventoryItem/doc/spec_IT.md
1 parent bb2d303 commit 4f90ec3

File tree

1 file changed

+262
-0
lines changed

1 file changed

+262
-0
lines changed

InventoryItem/doc/spec_IT.md

Lines changed: 262 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,262 @@
1+
<!-- 10-Header -->
2+
[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org)
3+
Entità: InventoryItem
4+
=====================<!-- /10-Header -->
5+
<!-- 15-License -->
6+
[Licenza aperta](https://github.com/smart-data-models//dataModel.PredictiveMaintenance/blob/master/InventoryItem/LICENSE.md)
7+
[documento generato automaticamente](https://docs.google.com/presentation/d/e/2PACX-1vTs-Ng5dIAwkg91oTTUdt8ua7woBXhPnwavZ0FxgR8BsAI_Ek3C5q97Nd94HS8KhP-r_quD4H0fgyt3/pub?start=false&loop=false&delayms=3000#slide=id.gb715ace035_0_60)
8+
<!-- /15-License -->
9+
<!-- 20-Description -->
10+
Descrizione globale: **Rappresenta un articolo dell'inventario all'interno di un magazzino**
11+
versione: 0.0.1
12+
<!-- /20-Description -->
13+
<!-- 30-PropertiesList -->
14+
15+
## Elenco delle proprietà
16+
17+
<sup><sub>[*] Se non c'è un tipo in un attributo è perché potrebbe avere diversi tipi o diversi formati/modelli</sub></sup>.
18+
- `availableTotal[integer]`: La quantità totale disponibile dell'articolo. - `itemLocation[string]`: La posizione dell'elemento. - `itemNumber[string]`: L'identificatore univoco dell'elemento. - `name[string]`: Il nome dell'elemento. - `netWeight[number]`: Il peso netto dell'articolo. - `onDelivery[integer]`: La quantità dell'articolo alla consegna. - `orderedBooked[integer]`: La quantità dell'articolo ordinato e prenotato. - `physicalAvailability[integer]`: La disponibilità fisica dell'articolo. - `physicalBooked[integer]`: La quantità fisica prenotata dell'articolo. - `physicalStock[integer]`: Lo stock fisico dell'articolo. - `researchName[string]`: Il nome di ricerca dell'elemento. - `site[string]`: Il sito in cui si trova l'articolo. - `totalOrdered[integer]`: La quantità totale ordinata per l'articolo. - `type[string]`: Il tipo di entità (InventoryItem). - `warehouseID[string]`: L'identificativo univoco del magazzino. <!-- /30-PropertiesList -->
19+
<!-- 35-RequiredProperties -->
20+
Proprietà richieste
21+
- `id` - `itemNumber` - `physicalStock` - `type` - `warehouseID` <!-- /35-RequiredProperties -->
22+
<!-- 40-NotesYaml -->
23+
<!-- /40-NotesYaml -->
24+
<!-- 50-DataModelHeader -->
25+
## Modello di dati descrizione delle proprietà
26+
Ordinati in ordine alfabetico (clicca per i dettagli)
27+
<!-- /50-DataModelHeader -->
28+
<!-- 60-ModelYaml -->
29+
<details><summary><strong>full yaml details</strong></summary>
30+
```yaml
31+
InventoryItem:
32+
description: Represent an item of the inventory inside a warehouse
33+
properties:
34+
availableTotal:
35+
description: The total available quantity of the item.
36+
type: integer
37+
x-ngsi:
38+
type: Property
39+
itemLocation:
40+
description: The location of the item.
41+
type: string
42+
x-ngsi:
43+
type: Property
44+
itemNumber:
45+
description: The unique identifier for the item.
46+
type: string
47+
x-ngsi:
48+
type: Property
49+
name:
50+
description: The name of the item.
51+
type: string
52+
x-ngsi:
53+
type: Property
54+
netWeight:
55+
description: The net weight of the item.
56+
type: number
57+
x-ngsi:
58+
type: Property
59+
onDelivery:
60+
description: The quantity of the item on delivery.
61+
type: integer
62+
x-ngsi:
63+
type: Property
64+
orderedBooked:
65+
description: The quantity of the item ordered and booked.
66+
type: integer
67+
x-ngsi:
68+
type: Property
69+
physicalAvailability:
70+
description: The physical availability of the item.
71+
type: integer
72+
x-ngsi:
73+
type: Property
74+
physicalBooked:
75+
description: The physical booked quantity of the item.
76+
type: integer
77+
x-ngsi:
78+
type: Property
79+
physicalStock:
80+
description: The physical stock of the item.
81+
type: integer
82+
x-ngsi:
83+
type: Property
84+
researchName:
85+
description: The research name of the item.
86+
type: string
87+
x-ngsi:
88+
type: Property
89+
site:
90+
description: The site where the item is located.
91+
type: string
92+
x-ngsi:
93+
type: Property
94+
totalOrdered:
95+
description: The total quantity ordered for the item.
96+
type: integer
97+
x-ngsi:
98+
type: Property
99+
type:
100+
description: The type of the entity (InventoryItem).
101+
type: string
102+
x-ngsi:
103+
type: Property
104+
warehouseID:
105+
description: The unique identifier for the warehouse.
106+
type: string
107+
x-ngsi:
108+
type: Property
109+
required:
110+
- id
111+
- type
112+
- warehouseID
113+
- itemNumber
114+
- physicalStock
115+
type: object
116+
x-derived-from: ''
117+
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
118+
x-license-url: https://github.com/smart-data-models/dataModel.PredictiveMaintenance/blob/master/InventoryItem/LICENSE.md
119+
x-model-schema: https://smart-data-models.github.io/dataModel.PredictiveMaintenance/InventoryItem/schema.json
120+
x-model-tags: maintenance
121+
x-version: 0.0.1
122+
```
123+
</details>
124+
<!-- /60-ModelYaml -->
125+
<!-- 70-MiddleNotes -->
126+
<!-- /70-MiddleNotes -->
127+
<!-- 80-Examples -->
128+
## Esempi di payload
129+
#### InventoryItem NGSI-v2 valori-chiave Esempio
130+
Ecco un esempio di InventoryItem in formato JSON-LD come valori-chiave. Questo è compatibile con NGSI-v2 quando si usa `options=keyValues` e restituisce i dati di contesto di una singola entità.
131+
<details><summary><strong>show/hide example</strong></summary>
132+
```json
133+
{
134+
"id": "https://smart-data-models.github.io/dataModel.PredictiveMaintenance/InventoryItem/inventoryItem01",
135+
"type": "InventoryItem",
136+
"warehouseID": "0000",
137+
"itemNumber": "1055.52395.191",
138+
"name": "Fusibile SIEMENS 3NA3 807",
139+
"physicalStock": 10,
140+
"researchName": "FusibileSIEMENS3NA38",
141+
"site": "01",
142+
"itemLocation": "SILO2/0027",
143+
"netWeight": 0.13
144+
}
145+
```
146+
</details>
147+
#### InventoryItem NGSI-v2 normalizzato Esempio
148+
Ecco un esempio di InventoryItem in formato JSON-LD normalizzato. Questo è compatibile con NGSI-v2 quando non si utilizzano le opzioni e restituisce i dati di contesto di una singola entità.
149+
<details><summary><strong>show/hide example</strong></summary>
150+
```json
151+
{
152+
"id": "urn:ngsi-ld:dataModel.PredictiveMaintenance:InventoryItem:inventoryItem01",
153+
"type": "InventoryItem",
154+
"warehouseID": {
155+
"type": "Property",
156+
"value": "0000"
157+
},
158+
"itemNumber": {
159+
"type": "Property",
160+
"value": "1055.52395.191"
161+
},
162+
"name": {
163+
"type": "Property",
164+
"value": "Fusibile SIEMENS 3NA3 807"
165+
},
166+
"physicalStock": {
167+
"type": "Property",
168+
"value": 10
169+
},
170+
"researchName": {
171+
"type": "Property",
172+
"value": "FusibileSIEMENS3NA38"
173+
},
174+
"site": {
175+
"type": "Property",
176+
"value": "01"
177+
},
178+
"itemLocation": {
179+
"type": "Property",
180+
"value": "SILO2/0027"
181+
},
182+
"netWeight": {
183+
"type": "Property",
184+
"value": 0.13
185+
}
186+
}
187+
```
188+
</details>
189+
#### InventoryItem NGSI-LD valori-chiave Esempio
190+
Ecco un esempio di InventoryItem in formato JSON-LD come valori-chiave. Questo è compatibile con NGSI-LD quando si usa `options=keyValues` e restituisce i dati di contesto di una singola entità.
191+
<details><summary><strong>show/hide example</strong></summary>
192+
```json
193+
{
194+
"@context": [
195+
"https://smartdatamodels.org/context.jsonld"
196+
],
197+
"id": "https://smart-data-models.github.io/dataModel.PredictiveMaintenance/InventoryItem/inventoryItem01",
198+
"type": "InventoryItem",
199+
"warehouseID": "0000",
200+
"itemNumber": "1055.52395.191",
201+
"name": "Fusibile SIEMENS 3NA3 807",
202+
"physicalStock": 10,
203+
"researchName": "FusibileSIEMENS3NA38",
204+
"site": "01",
205+
"itemLocation": "SILO2/0027",
206+
"netWeight": 0.13
207+
}
208+
```
209+
</details>
210+
#### InventoryItem NGSI-LD normalizzato Esempio
211+
Ecco un esempio di InventoryItem in formato JSON-LD normalizzato. Questo è compatibile con NGSI-LD quando non si utilizzano le opzioni e restituisce i dati di contesto di una singola entità.
212+
<details><summary><strong>show/hide example</strong></summary>
213+
```json
214+
{
215+
"@context": [
216+
"https://smartdatamodels.org/context.jsonld"
217+
],
218+
"id": "https://smart-data-models.github.io/dataModel.PredictiveMaintenance/InventoryItem/inventoryItem01",
219+
"type": "InventoryItem",
220+
"warehouseID": {
221+
"type": "Property",
222+
"value": "0000"
223+
},
224+
"itemNumber": {
225+
"type": "Property",
226+
"value": "1055.52395.191"
227+
},
228+
"name": {
229+
"type": "Property",
230+
"value": "Fusibile SIEMENS 3NA3 807"
231+
},
232+
"physicalStock": {
233+
"type": "Property",
234+
"value": 10
235+
},
236+
"researchName": {
237+
"type": "Property",
238+
"value": "FusibileSIEMENS3NA38"
239+
},
240+
"site": {
241+
"type": "Property",
242+
"value": "01"
243+
},
244+
"itemLocation": {
245+
"type": "Property",
246+
"value": "SILO2/0027"
247+
},
248+
"netWeight": {
249+
"type": "Property",
250+
"value": 0.13
251+
}
252+
}
253+
```
254+
</details><!-- /80-Examples -->
255+
<!-- 90-FooterNotes -->
256+
<!-- /90-FooterNotes -->
257+
<!-- 95-Units -->
258+
Vedere [FAQ 10](https://smartdatamodels.org/index.php/faqs/) per ottenere una risposta su come gestire le unità di grandezza.
259+
<!-- /95-Units -->
260+
<!-- 97-LastFooter -->
261+
---
262+
[Smart Data Models](https://smartdatamodels.org) +++ [Contribution Manual](https://bit.ly/contribution_manual) +++ [About](https://bit.ly/Introduction_SDM)<!-- /97-LastFooter -->

0 commit comments

Comments
 (0)