{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.3", "$id": "https://smart-data-models.github.io/dataModel.WoodworkingMachine/WoodworkingMachine/schema.json", "title": "Sample information model for WoodworkingMachine following OPC UA Companion Specification", "description": "WoodworkingMachine is a machine that is intended to process wood.", "derivedFrom": "https://opcfoundation.org/developer-tools/specifications-opc-ua-information-models/opc-ua-for-woodworking", "type": "object", "modelTags": "WoodworkingMachine", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" }, { "properties": { "type": { "type": "string", "description": "Property. NGSI entity type. It has to be WoodworkingMachine", "enum": [ "WoodworkingMachine" ] }, "Machines": { "type": "array", "description": "Property. List of all woodworking machines managed in a plant. Each Object represents an instance of a machine. In the simplest case, there is only one machine.", "items": { "type": "object", "properties": { "Identification": { "type": "object", "description": "Property. Model:'https://schema.org/StructuredValue'. The Identification Object provides identification information of the woodworking machine.", "properties": { "LocationPlant": { "type": "string" }, "LocationGPS": { "type": "string" }, "Location": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons/properties/location" }, "CustomerCompanyName": { "type": "string" }, "ProductInstanceUri": { "type": "string" }, "Manufacturer": { "type": "string" }, "ManufacturerUri": { "type": "string" }, "Model": { "type": "string" }, "ProductCode": { "type": "string" }, "HardwareRevision": { "type": "string" }, "SoftwareRevision": { "type": "string" }, "DeviceClass": { "type": "string", "enum": [ "SawingMachine", "ProfilingMachine", "EdgebandingMachine", "BoringMachine", "SandingMachine", "MachiningCenter", "Press", "HandlingMachine" ] }, "SerialNumber": { "type": "string" }, "YearOfConstruction": { "type": "integer" }, "MonthOfConstruction": { "type": "integer" }, "InitialOperationDate": { "type": "string" }, "AssetId": { "type": "string" }, "ComponentName": { "type": "string" } } }, "State": { "type": "object", "description": "Property. Model:'https://schema.org/StructuredValue'. The State Object provide information about the states of the machine.", "properties": { "Machine": { "type": "object", "properties": { "Overview": { "type": "object", "properties": { "CurrentState": { "type": "string", "enum": [ "OFFLINE", "STANDBY", "READY", "WORKING", "ERROR" ] }, "CurrentMode": { "type": "string", "enum": [ "OTHER", "AUTOMATIC", "SEMIAUTOMATIC", "MANUAL", "SETUP", "SLEEP" ] } } }, "Flags": { "type": "object", "properties": { "MachineOn": { "type": "boolean" }, "MachineInitialized": { "type": "boolean" }, "PowerPresent": { "type": "boolean" }, "AirPresent": { "type": "boolean" }, "DustChipSuction": { "type": "boolean" }, "Emergency": { "type": "boolean" }, "Safety": { "type": "boolean" }, "Calibrated": { "type": "boolean" }, "Remote": { "type": "boolean" }, "WorkpiecePresent": { "type": "boolean" }, "Moving": { "type": "boolean" }, "Error": { "type": "boolean" }, "Alarm": { "type": "boolean" }, "Warning": { "type": "boolean" }, "Hold": { "type": "boolean" }, "RecipeInRun": { "type": "boolean" }, "RecipeInSetup": { "type": "boolean" }, "RecipeInHold": { "type": "boolean" }, "ManualActivityRequired": { "type": "boolean" }, "LoadingEnabled": { "type": "boolean" }, "WaitUnload": { "type": "boolean" }, "WaitLoad": { "type": "boolean" }, "EnergySaving": { "type": "boolean" }, "ExternalEmergency": { "type": "boolean" }, "MaintenanceRequired": { "type": "boolean" }, "FeedRuns": { "type": "boolean" } } }, "Values": { "type": "object", "properties": { "AxisOverride": { "type": "integer" }, "SpindleOverride": { "type": "integer" }, "FeedSpeed": { "type": "number" }, "ActualCycle": { "type": "number" }, "AbsoluteMachineOffTime": { "type": "integer" }, "AbsoluteStandbyTime": { "type": "integer" }, "RelativeStandbyTime": { "type": "integer" }, "AbsoluteReadyTime": { "type": "integer" }, "RelativeReadyTime": { "type": "integer" }, "AbsoluteWorkingTime": { "type": "integer" }, "RelativeWorkingTime": { "type": "integer" }, "AbsoluteErrorTime": { "type": "integer" }, "RelativeErrorTime": { "type": "integer" }, "AbsoluteMachineOnTime": { "type": "integer" }, "RelativeMachineOnTime": { "type": "integer" }, "AbsoluteProductionTime": { "type": "integer" }, "RelativeProductionTime": { "type": "integer" }, "AbsoluteProductionWithoutWorkpieceTime": { "type": "integer" }, "RelativeProductionWithoutWorkpieceTime": { "type": "integer" }, "AbsoluteProductionWaitWorkpieceTime": { "type": "integer" }, "RelativeProductionWaitWorkpieceTime": { "type": "integer" }, "AbsoluteRunsGood": { "type": "integer" }, "RelativeRunsGood": { "type": "integer" }, "AbsoluteRunsAborted": { "type": "integer" }, "RelativeRunsAborted": { "type": "integer" }, "AbsoluteLength": { "type": "integer" }, "RelativeLength": { "type": "integer" }, "AbsolutePiecesIn": { "type": "integer" }, "RelativePiecesIn": { "type": "integer" }, "AbsolutePiecesOut": { "type": "integer" }, "RelativePiecesOut": { "type": "integer" } } } } } } }, "Events": { "type": "array", "description": "Property. Model:'https://schema.org/StructuredValue'. The Events Object provides events.", "items": [ { "type": "object", "properties": { "EventCategory": { "type": "string", "enum": [ "OTHER", "DIAGNOSTIC", "INFORMATION", "WARNING", "ALARM", "ERROR" ] }, "MessageId": { "type": "string" }, "MessageName": { "type": "string" }, "PathParts": { "type": "array", "items": {} }, "Group": { "type": "string" }, "LocalizedMessages": { "type": "array", "items": {} }, "Arguments": { "type": "array", "items": {} } } } ] }, "ManufacturerSpecific": { "type": "object", "description": "Property. Model:'https://schema.org/StructuredValue'. The ManufacturerSpecific Object provides manufacturer specific functionality.", "properties": { } } } } } } } ], "required": [ "id", "type", "Machines" ] }