{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/2wpower-com/json-schema/2wpower-com-provider-list-response-schema.json",
  "title": "ProviderListResponse",
  "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/ProviderListResponse",
  "properties": {
    "total_providers": {
      "type": "integer",
      "title": "Total Providers",
      "description": "Number of returned provider, brand or software-system records (not distinct licensed legal entities)."
    },
    "providers": {
      "items": {
        "$ref": "#/$defs/ProviderItem"
      },
      "type": "array",
      "title": "Providers",
      "description": "Records from the new website export only."
    }
  },
  "type": "object",
  "required": [
    "total_providers",
    "providers"
  ],
  "$defs": {
    "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"
    },
    "ProviderItem": {
      "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",
          "const": "provider_brand_or_software_system",
          "title": "Entry Type",
          "description": "Website entry classification."
        },
        "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": "ProviderItem"
    }
  }
}