View on GitHub

SHOP4CF Data Models

Documentation of FIWARE data models used in SHOP4CF

Asset

Asset is a tangible item that is needed for a manufacturing process but is neither a material nor a device. It may be a tool or an element of a device.

For instance, a gripper for a robot (i.e. for a device) or a hammer for a person are assets.

Example of a hammer is given below.

{
    "id": "urn:ngsi-ld:Asset:company-xyz:hammer-xqi7wnx",
    "type": "Asset",
    "description": {
        "type": "Property",
        "value": "Red hammer no. 58"
    },
    "state": {
        "type": "Property",
        "value": "available",
        "observedAt": "2020-12-01T11:23:19Z"
    },
    "isSpecifiedBy": {
        "type": "Property",
        "value": [
            {
                "type": "Relationship",
                "object": "urn:ngsi-ld:ResourceSpecification:company-xyz:any-asset"
            },
            {
                "type": "Relationship",
                "object": "urn:ngsi-ld:ResourceSpecification:company-xyz:hammer"
            }
        ]
    },
    "@context": [
        "https://smartdatamodels.org/context.jsonld",
        "https://raw.githubusercontent.com/shop4cf/data-models/master/docs/shop4cfcontext.jsonld"
    ]
}

Further notes on the attributes: