{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/2wpower-com/json-schema/2wpower-com-catalog-response-schema.json",
  "title": "CatalogResponse",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/2wpower-com-api-openapi.json#/components/schemas/CatalogResponse",
  "properties": {
    "schema_version": {
      "type": "string",
      "title": "Schema Version",
      "description": "Export schema version, independent of the API version."
    },
    "generated_at": {
      "type": "string",
      "title": "Generated At",
      "description": "ISO 8601 export generation timestamp with timezone."
    },
    "publisher": {
      "$ref": "#/$defs/Publisher",
      "description": "Website export publisher."
    },
    "source_catalogs": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Source Catalogs",
      "description": "English and Russian source listing URLs."
    },
    "source_sitemap": {
      "type": "string",
      "title": "Source Sitemap",
      "description": "Source sitemap URL."
    },
    "scope": {
      "type": "string",
      "title": "Scope",
      "description": "Scope of collection."
    },
    "coverage": {
      "additionalProperties": true,
      "type": "object",
      "title": "Coverage",
      "description": "Collection counts and coverage checks; not a count of licensed legal entities."
    },
    "data_policy": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Data Policy",
      "description": "Collection policy, missing values and interpretation limits."
    },
    "total_entries": {
      "type": "integer",
      "title": "Total Entries",
      "description": "Number of entries in the complete export."
    },
    "entries": {
      "items": {
        "$ref": "#/$defs/CatalogEntry"
      },
      "type": "array",
      "title": "Entries",
      "description": "Provider records and separate game categories."
    }
  },
  "type": "object",
  "required": [
    "schema_version",
    "generated_at",
    "publisher",
    "source_catalogs",
    "source_sitemap",
    "scope",
    "coverage",
    "data_policy",
    "total_entries",
    "entries"
  ],
  "$defs": {
    "CatalogEntry": {
      "properties": {
        "provider_id": {
          "type": "string",
          "title": "Provider Id",
          "description": "Stable website provider, brand or software-system identifier."
        },
        "name": {
          "type": "string",
          "title": "Name",
          "description": "English website label."
        },
        "name_ru": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name Ru",
          "description": "Russian website label; not a geographic availability flag."
        },
        "entry_type": {
          "type": "string",
          "enum": [
            "provider_brand_or_software_system",
            "game_category"
          ],
          "title": "Entry Type",
          "description": "Provider/brand/software system or a game category."
        },
        "website_slug": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Website Slug",
          "description": "Website profile slug, or null when no profile exists."
        },
        "source_url": {
          "type": "string",
          "title": "Source Url",
          "description": "Source listing or profile URL."
        },
        "profile_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Profile Url",
          "description": "English profile URL, or null."
        },
        "profile_url_ru": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Profile Url Ru",
          "description": "Russian profile URL, or null."
        },
        "logo_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Logo Url",
          "description": "Logo asset URL, or null."
        },
        "catalog_card_positions_en": {
          "items": {
            "type": "integer"
          },
          "type": "array",
          "title": "Catalog Card Positions En",
          "description": "One-based card positions in the English listing."
        },
        "catalog_card_positions_ru": {
          "items": {
            "type": "integer"
          },
          "type": "array",
          "title": "Catalog Card Positions Ru",
          "description": "One-based card positions in the Russian listing."
        },
        "listing_checked_at": {
          "type": "string",
          "title": "Listing Checked At",
          "description": "ISO 8601 timestamp with timezone of listing collection."
        },
        "profile_check": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProfileCheck"
            },
            {
              "type": "null"
            }
          ],
          "description": "Profile link check; null for entries without a checked profile. Does not verify licensing."
        }
      },
      "type": "object",
      "required": [
        "provider_id",
        "name",
        "name_ru",
        "entry_type",
        "website_slug",
        "source_url",
        "profile_url",
        "profile_url_ru",
        "logo_url",
        "catalog_card_positions_en",
        "catalog_card_positions_ru",
        "listing_checked_at",
        "profile_check"
      ],
      "title": "CatalogEntry"
    },
    "ProfileCheck": {
      "properties": {
        "http_status": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Http Status",
          "description": "HTTP status at collection time; null if unavailable."
        },
        "final_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Final Url",
          "description": "Final profile URL after redirects; null if unavailable."
        },
        "checked_at": {
          "type": "string",
          "title": "Checked At",
          "description": "ISO 8601 timestamp with timezone of the profile check."
        }
      },
      "type": "object",
      "required": [
        "http_status",
        "final_url",
        "checked_at"
      ],
      "title": "ProfileCheck"
    },
    "Publisher": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name",
          "description": "Dataset publisher name."
        },
        "website": {
          "type": "string",
          "title": "Website",
          "description": "Publisher website URL."
        }
      },
      "type": "object",
      "required": [
        "name",
        "website"
      ],
      "title": "Publisher"
    }
  }
}