file
Lexicon: eco.wonderland.workcell.asset.file.defs
Type: object
AbstractFile type that provides information about the file instance and its URL.
Properties
Section titled “Properties”assetId
Section titled “assetId”Type: string
Required
Unique identifier for an asset.
deviceUuid
Section titled “deviceUuid”Type: string
Associated piece of equipment’s UUID that supplied the asset’s data. It references to uuid defined in Device Information Model.
removed
Section titled “removed”Type: boolean
Indicator that the asset has been removed from the piece of equipment.
timestamp
Section titled “timestamp”Type: timestamp
Required
Time the asset data was last modified.
configuration
Section titled “configuration”Type: configuration
Type: string
Condensed message digest from a secure one-way hash function. FIPS PUB 180-4
Type: string
Required
Name of the file.
mediaType
Section titled “mediaType”Type: string
Required
Mime type of the file.
applicationCategory
Section titled “applicationCategory”Type: applicationCategory
Required
Category of application that will use this file.
applicationType
Section titled “applicationType”Type: applicationType
Required
Type of application that will use this file.
fileProperties
Section titled “fileProperties”Type: [ fileProperty ]
fileComments
Section titled “fileComments”Type: [ fileComment ]
Type: int32
Required
Size of the file in bytes.
versionId
Section titled “versionId”Type: string
Required
Version identifier of the file.
Type: fileState
Required
State of the file.
signature
Section titled “signature”Type: string
Secure hash of the file.
publicKey
Section titled “publicKey”Type: string
Public key used to verify the signature.
creationTime
Section titled “creationTime”Type: timestamp
Required
Time the file was created.
modificationTime
Section titled “modificationTime”Type: timestamp
Time the file was modified.
fileLocation
Section titled “fileLocation”Type: fileLocation
Required
destinations
Section titled “destinations”Type: [ destination ]
Referenced By
Section titled “Referenced By”- assets
eco.wonderland.workcell.asset.defs
Schema
Section titled “Schema”{ "type": "object", "required": [ "assetId", "timestamp", "name", "mediaType", "applicationCategory", "applicationType", "size", "versionId", "state", "creationTime", "fileLocation" ], "properties": { "assetId": { "type": "string" }, "deviceUuid": { "type": "string" }, "removed": { "type": "boolean" }, "timestamp": { "type": "string", "format": "datetime" }, "configuration": { "type": "ref", "ref": "lex:eco.wonderland.workcell.device.configuration.defs#configuration" }, "hash": { "type": "string" }, "name": { "type": "string" }, "mediaType": { "type": "string" }, "applicationCategory": { "type": "ref", "ref": "lex:eco.wonderland.workcell.asset.data.defs#applicationCategory" }, "applicationType": { "type": "ref", "ref": "lex:eco.wonderland.workcell.asset.data.defs#applicationType" }, "fileProperties": { "type": "array", "items": { "type": "ref", "ref": "#fileProperty" } }, "fileComments": { "type": "array", "items": { "type": "ref", "ref": "#fileComment" } }, "size": { "type": "integer" }, "versionId": { "type": "string" }, "state": { "type": "ref", "ref": "lex:eco.wonderland.workcell.asset.data.defs#fileState" }, "signature": { "type": "string" }, "publicKey": { "type": "string" }, "creationTime": { "type": "string", "format": "datetime" }, "modificationTime": { "type": "string", "format": "datetime" }, "fileLocation": { "type": "ref", "ref": "#fileLocation" }, "destinations": { "type": "array", "items": { "type": "ref", "ref": "#destination" } } }}