Material
Material is a product (final or intermediate) or an ingredient of a manufacturing process. Its attributes represent its current state. The state may be physically observed, for instance location, but also process-specific, for instance a result of quality control.
Example of a PCB under manufacturing with the outcome of quality control is given below.
{
"id": "urn:ngsi-ld:Material:company-xyz:pcb-ncw498w",
"type": "Material",
"state": {
"type": "Property",
"value": {
"qualityControlOutcome": "defective"
},
"observedAt": "2020-12-01T11:23:19Z"
},
"isSpecifiedBy": {
"type": "Property",
"value": [
{
"type": "Relationship",
"object": "urn:ngsi-ld:ResourceSpecification:company-xyz:any-material"
},
{
"type": "Relationship",
"object": "urn:ngsi-ld:ResourceSpecification:company-xyz:product-pcb"
}
]
},
"@context": [
"https://smartdatamodels.org/context.jsonld",
"https://raw.githubusercontent.com/shop4cf/data-models/master/docs/shop4cfcontext.jsonld"
]
}
Further notes on the attributes:
state
is the state of the material from an operational point of view. Its concrete structure/value depends on a specific use case.isSpecifiedBy
references a set of Resource Specifications that the Material fulfills (and that do not rather live in Context Broker)