{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/avala-ai/json-schema/avala-ai-organization-update-schema.json",
  "title": "OrganizationUpdate",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/avala-ai-openapi.json#/components/schemas/OrganizationUpdate",
  "type": "object",
  "properties": {
    "slug": {
      "title": "Slug",
      "type": "string",
      "format": "slug",
      "pattern": "^[-a-zA-Z0-9_]+$",
      "maxLength": 255,
      "minLength": 1
    },
    "name": {
      "title": "Name",
      "type": "string",
      "maxLength": 1024,
      "minLength": 1
    },
    "description": {
      "title": "Description",
      "type": "string",
      "maxLength": 1024
    },
    "logo": {
      "title": "Logo",
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "format": "uri"
    },
    "website": {
      "title": "Website",
      "type": "string",
      "format": "uri",
      "maxLength": 200
    },
    "x_url": {
      "title": "X url",
      "type": "string",
      "format": "uri",
      "maxLength": 500
    },
    "hugging_face_url": {
      "title": "Hugging face url",
      "type": "string",
      "format": "uri",
      "maxLength": 500
    },
    "github_url": {
      "title": "Github url",
      "type": "string",
      "format": "uri",
      "maxLength": 500
    },
    "linkedin_url": {
      "title": "Linkedin url",
      "type": "string",
      "format": "uri",
      "maxLength": 500
    },
    "organization_type": {
      "title": "Organization type",
      "type": "string",
      "enum": [
        "",
        "company",
        "university",
        "classroom",
        "non_profit",
        "government",
        "community"
      ]
    },
    "handle": {
      "title": "Handle",
      "description": "Unique handle for the organization (e.g., 'irobot'). Used in URLs and mentions.",
      "type": [
        "string",
        "null"
      ],
      "pattern": "^[a-zA-Z0-9_]+$",
      "maxLength": 50
    },
    "industry": {
      "title": "Industry",
      "type": "string",
      "enum": [
        "robotics",
        "autonomous_vehicle",
        "ai_ml",
        "other"
      ]
    },
    "email": {
      "title": "Email",
      "description": "Contact email for the organization.",
      "type": "string",
      "format": "email",
      "maxLength": 254
    },
    "phone": {
      "title": "Phone",
      "description": "Contact phone number for the organization.",
      "type": "string",
      "maxLength": 50
    },
    "visibility": {
      "title": "Visibility",
      "description": "Whether the organization profile is publicly visible.",
      "type": "string",
      "enum": [
        "public",
        "private"
      ]
    }
  }
}