{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reporters-io/json-schema/reporters-io-outlet-schema.json",
  "title": "Outlet",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reporters-io-openapi.json#/components/schemas/Outlet",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "website_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "country_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "languages": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "logo_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "parent": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "slug": {
              "type": "string"
            }
          },
          "required": [
            "name",
            "slug"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "reporter_count": {
      "type": "integer",
      "minimum": 0
    },
    "has_contacts": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "slug",
    "name",
    "website_url",
    "description",
    "country_code",
    "languages",
    "logo_url",
    "parent"
  ],
  "additionalProperties": false
}