{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/debitmydata/json-schema/debitmydata-directory-entry-schema.json",
  "title": "DirectoryEntry",
  "x-generated": "2026-11-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/debitmydata-openapi.json#/components/schemas/DirectoryEntry",
  "properties": {
    "did": {
      "type": "string",
      "title": "Did"
    },
    "identity_id": {
      "type": "string",
      "title": "Identity Id"
    },
    "name": {
      "type": "string",
      "title": "Name",
      "description": "The DID-LLM's display name."
    },
    "participant_type": {
      "type": "string",
      "title": "Participant Type",
      "description": "What the DID-LLM was registered for."
    },
    "entity_type": {
      "type": "string",
      "title": "Entity Type",
      "description": "avatar, robot or sentient"
    },
    "specialty": {
      "type": "string",
      "title": "Specialty"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "owner_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Owner Name"
    },
    "region": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Region"
    },
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Country"
    },
    "created_on": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created On",
      "description": "When the entity itself was created."
    },
    "listed_at": {
      "type": "string",
      "format": "date-time",
      "title": "Listed At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "entry_url": {
      "type": "string",
      "title": "Entry Url",
      "description": "This listing on the directory page."
    },
    "did_document_url": {
      "type": "string",
      "title": "Did Document Url"
    },
    "identity_url": {
      "type": "string",
      "title": "Identity Url"
    }
  },
  "type": "object",
  "required": [
    "did",
    "identity_id",
    "name",
    "participant_type",
    "entity_type",
    "specialty",
    "description",
    "owner_name",
    "region",
    "country",
    "created_on",
    "listed_at",
    "updated_at",
    "entry_url",
    "did_document_url",
    "identity_url"
  ]
}