{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/terminal49/json-schema/terminal49-party-schema.json",
  "title": "Party model",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/terminal49-parties-api-openapi.yml#/components/schemas/party",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "attributes": {
      "type": "object",
      "required": [
        "company_name"
      ],
      "properties": {
        "company_name": {
          "type": "string",
          "description": "Company name"
        }
      }
    },
    "type": {
      "type": "string",
      "enum": [
        "party"
      ]
    }
  },
  "required": [
    "attributes"
  ]
}