{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/miro/json-schema/miro-organization-schema.json",
  "title": "Organization",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/miro-organizations-api-openapi.yml#/components/schemas/Organization",
  "required": [
    "fullLicensesPurchased",
    "id",
    "name",
    "plan"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Id of the organization"
    },
    "fullLicensesPurchased": {
      "type": "integer",
      "description": "Purchased FULL licenses",
      "format": "int32"
    },
    "name": {
      "type": "string",
      "description": "Name of the organization"
    },
    "plan": {
      "type": "string",
      "description": "Organization plan type",
      "enum": [
        "company",
        "consultant",
        "consultant_slf",
        "business",
        "paid_team_org",
        "integration_org",
        "professional_2022",
        "edu_team_org",
        "free_team_org",
        "dev_team_org",
        "unknown"
      ]
    },
    "type": {
      "type": "string",
      "description": "Type of the object returned.",
      "default": "organization"
    }
  }
}