{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-object-create-schema.json",
  "title": "ObjectCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agonna-com-teams-api-openapi.yml#/components/schemas/ObjectCreate",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$",
      "title": "Id"
    },
    "conversation_id": {
      "type": "string",
      "title": "Conversation Id"
    },
    "kind": {
      "type": "string",
      "enum": [
        "space_description",
        "activity",
        "task"
      ],
      "title": "Kind"
    },
    "state": {
      "type": "string",
      "enum": [
        "open",
        "running",
        "done",
        "cancelled"
      ],
      "title": "State",
      "default": "open"
    },
    "event_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "title": "Event Id"
    },
    "expected_revision": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Revision"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "id",
    "conversation_id",
    "kind",
    "event_id"
  ]
}