{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/casafari/json-schema/casafari-api-types-v1-schema.json",
  "title": "ApiTypesV1",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/casafari-api-references-api-openapi.yml#/components/schemas/ApiTypesV1",
  "properties": {
    "types": {
      "items": {
        "properties": {
          "group": {
            "type": "string",
            "description": "Name of the group of types."
          },
          "names": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "description": "List of type names that belong to a specific group."
          }
        },
        "type": "object",
        "required": [
          "group",
          "names"
        ]
      },
      "type": "array",
      "description": "List of grouped property types."
    },
    "types_with_countries": {
      "items": {
        "properties": {
          "name": {
            "type": "string",
            "description": "Type name."
          },
          "countries": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "description": "List of countries where the type is available."
          }
        },
        "type": "object",
        "required": [
          "name",
          "countries"
        ]
      },
      "type": "array",
      "description": "List of type names with countries where each type is available."
    }
  },
  "type": "object",
  "required": [
    "types",
    "types_with_countries"
  ]
}