{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-tenant-configuration-item-dto-schema.json",
  "title": "TenantConfigurationItemDto",
  "description": "A tenant configuration item",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-tenant-configuration-api-openapi.yml#/components/schemas/TenantConfigurationItemDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the configuration"
    },
    "tenantId": {
      "type": "string",
      "description": "Tenant ID this configuration belongs to"
    },
    "namespace": {
      "type": "string",
      "description": "Namespace for the configuration"
    },
    "configurationTypeId": {
      "type": "string",
      "description": "Type identifier for the configuration"
    },
    "configuration": {
      "description": "Configuration data as JSON. The structure is flexible and depends on `configurationTypeId`."
    },
    "updatedAt": {
      "$ref": "#/$defs/Instant",
      "type": "string",
      "description": "Timestamp when the configuration was last updated"
    },
    "createdAt": {
      "$ref": "#/$defs/Instant",
      "type": "string",
      "description": "Timestamp when the configuration was created"
    }
  },
  "$defs": {
    "Instant": {
      "type": "string",
      "format": "date-time"
    }
  }
}