documento generado automáticamente
Descripción global: Representar un componente dentro de una máquina o para ser reemplazado
versión: 0.0.1
[*] Si no hay un tipo en un atributo es porque puede tener varios tipos o diferentes formatos/patrones.
componentCost[number]: Coste para el cliente en euros.componentDescription[string]: Nombre del producto y una breve descripción, también enlace al sitio del proveedor.componentSupplierID[string]: Código de componente del proveedor - Original.dateGuaranteedDelivery[date]: Fecha de disponibilidad garantizada confirmada por el proveedor.deliveryCost[number]: Coste para el cliente en euros.locationInWarehouse[string]: Identifique la ubicación del componente.measurement[object]: Las propiedades físicas del componenteheight[object]: Medida de la altura del objeto.length[object]: Longitud del objeto.weight[object]: Medición del peso del objeto.width[object]: Medida de la anchura del objeto.
numberOfPiecesAvailable[integer]: Disponibilidad actual de existencias en distintos almacenes.numberOfPiecesOnDelivery[integer]: Pedido en curso - Información sobre la confirmación del pedido.requiresSkill[array]: ListProperty. Experiencia y herramientas necesarias.supplierID[string]: Identificar al proveedor - Contacto e información.type[string]: Tipo de entidad (MachineComponent).warehouseID[string]: Identifique los lugares de almacenamiento, también c/o cliente de los proveedores de servicios.
Propiedades requeridas
componentDescriptioncomponentSupplierIDidlocationInWarehousemeasurementrequiresSkillsupplierIDtypewarehouseID
Ordenados alfabéticamente (pulse para más detalles)
full yaml details
MachineComponent:
description: Represent a component inside a machine or to be replaced
properties:
componentCost:
description: Cost for the customer in Euros.
type: number
x-ngsi:
type: Property
componentDescription:
description: Product Name and a brief description, also link to supplier site.
type: string
x-ngsi:
type: Property
componentSupplierID:
description: Supplier Component Code - Original.
type: string
x-ngsi:
type: Property
dateGuaranteedDelivery:
description: Guaranteed availability date confirmed by supplier.
format: date
type: string
x-ngsi:
type: Property
deliveryCost:
description: Cost for the customer in Euros.
type: number
x-ngsi:
type: Property
locationInWarehouse:
description: Identify the component location.
type: string
x-ngsi:
type: Property
measurement:
description: The physical properties of the component
properties:
height:
description: Height measurement of the object.
properties:
unit:
default: cm
description: Unit of measurement for height (e.g., cm, m, in).
type: string
x-ngsi:
type: Property
value:
description: Height value of the object.
type: number
x-ngsi:
type: Property
required:
- value
- unit
type: object
x-ngsi:
type: Property
length:
description: Length of the object.
properties:
unit:
default: cm
description: Unit of measurement for length (e.g., cm, m, in).
type: string
x-ngsi:
type: Property
value:
description: Length value of the object.
type: number
x-ngsi:
type: Property
required:
- value
- unit
type: object
x-ngsi:
type: Property
weight:
description: Weight measurement of the object.
properties:
unit:
default: kg
description: Unit of measurement for weight (e.g., kg, lb).
type: string
x-ngsi:
type: Property
value:
description: Weight value of the object.
type: number
x-ngsi:
type: Property
required:
- value
- unit
type: object
x-ngsi:
type: Property
width:
description: Width measurement of the object.
properties:
unit:
default: cm
description: Unit of measurement for width (e.g., cm, m, in).
type: string
x-ngsi:
type: Property
value:
description: Width value of the object.
type: number
x-ngsi:
type: Property
required:
- value
- unit
type: object
x-ngsi:
type: Property
required:
- height
- width
- length
- weight
type: object
x-ngsi:
type: Property
numberOfPiecesAvailable:
description: Current stock availability in different warehouses.
type: integer
x-ngsi:
type: Property
numberOfPiecesOnDelivery:
description: Order in progress - Info about order confirmation.
type: integer
x-ngsi:
type: Property
requiresSkill:
description: ListProperty. Experience and tools required.
items:
description: Technical skill description.
format: uri
type: string
x-ngsi:
type: Relationship
type: array
supplierID:
description: Identify the Supplier - Contact and info.
type: string
x-ngsi:
type: Property
type:
description: The type of the entity (MachineComponent).
type: string
x-ngsi:
type: Property
warehouseID:
description: Identify the warehouse places, also c/o customer of service suppliers.
type: string
x-ngsi:
type: Property
required:
- id
- type
- componentSupplierID
- componentDescription
- requiresSkill
- supplierID
- warehouseID
- locationInWarehouse
- measurement
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) 2025 Contributors to Smart Data Models Program
x-license-url: https://github.com/smart-data-models/dataModel.PredictiveMaintenance/blob/master/MachineComponent/LICENSE.md
x-model-schema: https://smart-data-models.github.io/dataModel.PredictiveMaintenance/MachineComponent/schema.json
x-model-tags: maintenance
x-version: 0.0.1 Aquí hay un ejemplo de un MachineComponent en formato JSON-LD como key-values. 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": "https://smart-data-models.github.io/dataModel.PredictiveMaintenance/MaintenanceComponent/maintenanceComponent01",
"type": "MaintenanceComponent",
"componentSupplierID": "SUP12345",
"componentDescription": "High-Performance Motor with advanced features and link to supplier site.",
"requiresSkill": [
"MaintenanceSkill:maintenanceSkill01"
],
"supplierID": "SUP001",
"warehouseID": "WH001",
"locationInWarehouse": "Aisle 5, Shelf 3",
"numberOfPiecesAvailable": 50,
"numberOfPiecesOnDelivery": 20,
"dateGuaranteedDelivery": "2023-12-31",
"measurement": {
"height": {
"value": 10.5,
"unit": "cm"
},
"width": {
"value": 15.2,
"unit": "cm"
},
"length": {
"value": 20.8,
"unit": "cm"
},
"weight": {
"value": 5.5,
"unit": "kg"
}
},
"componentCost": 250.75,
"deliveryCost": 15.50
} He aquí un ejemplo de un MachineComponent 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": "urn:ngsi-ld:dataModel.PredictiveMaintenance:MachineComponent:machineComponent01",
"type": "MachineComponent",
"componentSupplierID": {
"type": "Property",
"value": "SUP12345"
},
"componentDescription": {
"type": "Property",
"value": "High-Performance Motor with advanced features and link to supplier site."
},
"requiresSkill": {
"type": "ListProperty",
"value": [
{
"type": "Property",
"id": "MaintenanceSkill:maintenanceSkill01"
}
]
},
"supplierID": {
"type": "Property",
"value": "SUP001"
},
"warehouseID": {
"type": "Property",
"value": "WH001"
},
"locationInWarehouse": {
"type": "Property",
"value": "Aisle 5, Shelf 3"
},
"numberOfPiecesAvailable": {
"type": "Integer",
"value": 50
},
"numberOfPiecesOnDelivery": {
"type": "Integer",
"value": 20
},
"dateGuaranteedDelivery": {
"type": "Property",
"value": "2023-12-31"
},
"measurement": {
"type": "Property",
"value": {
"height": {
"value": {
"type": "Property",
"value": 10.5
},
"unit": {
"type": "Property",
"value": "cm"
}
},
"width": {
"value": {
"type": "Property",
"value": 15.2
},
"unit": {
"type": "Property",
"value": "cm"
}
},
"length": {
"value": {
"type": "Property",
"value": 20.8
},
"unit": {
"type": "Property",
"value": "cm"
}
},
"weight": {
"value": {
"type": "Property",
"value": 5.5
},
"unit": {
"type": "Property",
"value": "kg"
}
}
}
},
"componentCost": {
"type": "Property",
"value": 250.75
},
"deliveryCost": {
"type": "Property",
"value": 15.50
}
} He aquí un ejemplo de un MachineComponent en formato JSON-LD como key-values. Esto es compatible con NGSI-LD cuando se utiliza options=keyValues y devuelve los datos de contexto de una entidad individual.
show/hide example
{
"@context": [
"https://smartdatamodels.org/context.jsonld"
],
"id": "https://smart-data-models.github.io/dataModel.PredictiveMaintenance/MachineComponent/machineComponent01",
"type": "MachineComponent",
"componentSupplierID": "SUP12345",
"componentDescription": "High-Performance Motor with advanced features and link to supplier site.",
"requiresSkill": [
"MaintenanceSkill:maintenanceSkill01"
],
"supplierID": "SUP001",
"warehouseID": "WH001",
"locationInWarehouse": "Aisle 5, Shelf 3",
"numberOfPiecesAvailable": 50,
"numberOfPiecesOnDelivery": 20,
"dateGuaranteedDelivery": "2023-12-31",
"measurement": {
"height": {
"value": 10.5,
"unit": "cm"
},
"width": {
"value": 15.2,
"unit": "cm"
},
"length": {
"value": 20.8,
"unit": "cm"
},
"weight": {
"value": 5.5,
"unit": "kg"
}
},
"componentCost": 250.75,
"deliveryCost": 15.50
} He aquí un ejemplo de un MachineComponent 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
{
"@context": [
"https://smartdatamodels.org/context.jsonld"
],
"id": "https://smart-data-models.github.io/dataModel.PredictiveMaintenance/MachineComponent/machineComponent01",
"type": "MachineComponent",
"componentSupplierID": {
"type": "Property",
"value": "SUP12345"
},
"componentDescription": {
"type": "Property",
"value": "High-Performance Motor with advanced features and link to supplier site."
},
"requiresSkill": {
"type": "ListProperty",
"value": [
{
"type": "Relationship",
"id": "MaintenanceSkill:maintenanceSkill01"
}
]
},
"supplierID": {
"type": "Property",
"value": "SUP001"
},
"warehouseID": {
"type": "Property",
"value": "WH001"
},
"locationInWarehouse": {
"type": "Property",
"value": "Aisle 5, Shelf 3"
},
"numberOfPiecesAvailable": {
"type": "Property",
"value": 50
},
"numberOfPiecesOnDelivery": {
"type": "Property",
"value": 20
},
"dateGuaranteedDelivery": {
"type": "Property",
"value": "2023-12-31"
},
"measurement": {
"type": "Property",
"value": {
"height": {
"value": {
"type": "Property",
"value": 10.5
},
"unit": {
"type": "Property",
"value": "cm"
}
},
"width": {
"value": {
"type": "Property",
"value": 15.2
},
"unit": {
"type": "Property",
"value": "cm"
}
},
"length": {
"value": {
"type": "Property",
"value": 20.8
},
"unit": {
"type": "Property",
"value": "cm"
}
},
"weight": {
"value": {
"type": "Property",
"value": 5.5
},
"unit": {
"type": "Property",
"value": "kg"
}
}
}
},
"componentCost": {
"type": "Property",
"value": 250.75
},
"deliveryCost": {
"type": "Property",
"value": 15.50
}
} Consulte FAQ 10 para obtener una respuesta sobre cómo tratar las unidades de magnitud.
