{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ResourceFeature",
"title": "Resource feature",
"required": [
"Classification",
"CreatedUtc",
"Descriptions",
"Id",
"IsActive",
"Names",
"ServiceId",
"ShortNames",
"UpdatedUtc"
],
"type": "object",
"properties": {
"Id": {
"type": "string",
"description": "Unique identifier of `ResourceFeature`.",
"format": "uuid"
},
"ServiceId": {
"type": "string",
"description": "Unique identifier of `Service` the resource feature belongs to.",
"format": "uuid"
},
"IsActive": {
"type": "boolean",
"description": "Whether the `ResourceFeature` is active."
},
"Classification": {
"$ref": "#/components/schemas/ResourceFeatureClassification"
},
"Names": {
"title": "Localized text",
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "All translations of the name.",
"x-schema-id": "LocalizedStrings"
},
"ShortNames": {
"title": "Localized text",
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "All translations of the short name.",
"x-schema-id": "LocalizedStrings"
},
"Descriptions": {
"title": "Localized text",
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "All translations of the description.",
"x-schema-id": "LocalizedStrings"
},
"CreatedUtc": {
"minLength": 1,
"type": "string",
"description": "Creation date and time of the resource feature in UTC timezone in ISO 8601 format.",
"format": "date-time"
},
"UpdatedUtc": {
"minLength": 1,
"type": "string",
"description": "Last update date and time of the resource feature in UTC timezone in ISO 8601 format.",
"format": "date-time"
}
},
"additionalProperties": false,
"x-schema-id": "ResourceFeature"
}