{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clusterhack-dev/json-schema/clusterhack-dev-company-model-schema.json",
  "title": "CompanyModel",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clusterhack-dev-companies-api-openapi.yml#/components/schemas/CompanyModel",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "title": "Name of the organization",
      "maxLength": 100
    },
    "description": {
      "type": "string",
      "title": "Description of the organization",
      "maxLength": 1000
    },
    "type": {
      "type": "string",
      "title": "Organization type",
      "maxLength": 300
    },
    "last_updated": {
      "type": "string",
      "format": "date-time",
      "readOnly": true,
      "title": "Last updated post"
    },
    "site_company": {
      "type": "string",
      "title": "Organization website",
      "maxLength": 200
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "readOnly": true,
      "title": "When the entry was created"
    },
    "logo_company": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "title": "Image"
    }
  },
  "required": [
    "created",
    "id",
    "last_updated",
    "name"
  ]
}