{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aibenchmarkindex-com/json-schema/aibenchmarkindex-com-listing-item-schema.json",
  "title": "ListingItem",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aibenchmarkindex-com-openapi.json#/components/schemas/ListingItem",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "The stable identifier. Use it in /listings/{slug}."
    },
    "name": {
      "type": "string"
    },
    "path": {
      "type": "string",
      "description": "The listing page on this site."
    },
    "url": {
      "type": "string",
      "description": "Absolute URL of the listing page."
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2, upper case."
    },
    "region": {
      "type": "string"
    },
    "regionSlug": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "citySlug": {
      "type": "string"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "name"
        ],
        "additionalProperties": false
      },
      "description": "Primary category first."
    },
    "tier": {
      "type": "string"
    },
    "lat": {
      "type": [
        "number",
        "null"
      ]
    },
    "lng": {
      "type": [
        "number",
        "null"
      ]
    },
    "completeness": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "0 to 100. How much of the record is filled in."
    },
    "attributes": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {},
      "description": "Public facet attributes, keyed by attribute key."
    }
  },
  "required": [
    "slug",
    "name",
    "path",
    "url",
    "country",
    "region",
    "regionSlug",
    "city",
    "citySlug",
    "categories",
    "tier",
    "lat",
    "lng",
    "completeness",
    "attributes"
  ],
  "additionalProperties": false
}