{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reddit/json-schema/reddit-components-schema-business-schema.json",
  "title": "Business",
  "description": "The parent entity that owns all the entities in an organization.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reddit-businesses-api-openapi.yml#/components/schemas/components_schema_business",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "agency_affiliated": {
      "type": "boolean",
      "description": "Whether the business is affiliated with an agency."
    },
    "country": {
      "type": [
        "string",
        "null"
      ],
      "description": "The business's country code ([ISO 3166-1 alpha-2](https://www.iso.org/iso-3166-country-codes.html)). If unavailable, set to `Other`."
    },
    "created_at": {
      "$ref": "#/$defs/components_schema_created_at"
    },
    "creator_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The ID of the member that created the business."
    },
    "id": {
      "allOf": [
        {
          "$ref": "#/$defs/components_schema_business_id"
        },
        {
          "readOnly": true
        }
      ]
    },
    "industry": {
      "$ref": "#/$defs/components_enums_industry_type",
      "description": "The business's industry."
    },
    "modified_at": {
      "$ref": "#/$defs/components_schema_modified_at"
    },
    "name": {
      "type": "string",
      "description": "The name of the business."
    },
    "phone": {
      "type": [
        "string",
        "null"
      ],
      "description": "The business's phone number."
    },
    "primary_contact_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The ID of the business's primary contact."
    },
    "website_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "The business's website URL."
    }
  },
  "$defs": {
    "components_enums_industry_type": {
      "description": "The industry type.",
      "type": "string",
      "enum": [
        "ADULT",
        "ADVERTISING",
        "ALCOHOL",
        "AUTO",
        "CLOTHING_AND_FASHION",
        "CONSULTING",
        "CONSUMER_PACKAGED_GOODS",
        "DATING",
        "EDUCATION",
        "EMPLOYMENT",
        "ENTERTAINMENT",
        "FINANCIAL_SERVICES",
        "GAMBLING_AND_FANTASY_SPORTS",
        "GAMING",
        "HEALTH_AND_BEAUTY",
        "OTHER",
        "POLITICS_AND_GOVERNMENT",
        "PUBLISHING",
        "REAL_ESTATE",
        "RESTAURANTS_AND_FOOD",
        "RETAIL_AND_ECOMMERCE",
        "SPORTS",
        "TECH_B2B",
        "TECH_B2C",
        "TECH_OTHER",
        "TRAVEL"
      ]
    },
    "components_schema_business_id": {
      "description": "The business ID.",
      "type": "string",
      "format": "uuid"
    },
    "components_schema_created_at": {
      "description": "When this entity was created ([ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html)).",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "components_schema_modified_at": {
      "title": "Modified At",
      "description": "When this entity was last changed ([ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html)).",
      "type": "string",
      "format": "date-time",
      "readOnly": true
    }
  }
}