JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Characteristic",
"title": "Characteristic",
"allOf": [
{
"$ref": "#/components/schemas/Extensible"
},
{
"type": "object",
"description": "Describes a given characteristic of an object or entity through a name/value pair.",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier of the characteristic"
},
"name": {
"type": "string",
"description": "Name of the characteristic"
},
"valueType": {
"type": "string",
"description": "Data type of the value of the characteristic"
},
"characteristicRelationship": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CharacteristicRelationship"
}
}
}
}
],
"discriminator": {
"propertyName": "@type",
"mapping": {
"Characteristic": "#/components/schemas/Characteristic"
}
}
}