{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hivehall-ai/json-schema/hivehall-ai-binding-update-scoped-body-schema.json",
  "title": "BindingUpdateScopedBody",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hivehall-ai-openapi.json#/components/schemas/BindingUpdateScopedBody",
  "properties": {
    "idempotency_key": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "title": "Idempotency Key"
    },
    "expected_version": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Expected Version"
    },
    "rationale": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "title": "Rationale"
    },
    "skill_version_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 96,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Skill Version Id"
    },
    "requirement": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "RECOMMENDED",
            "READ_BEFORE_COMPLETION"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Requirement"
    },
    "purpose": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Purpose"
    },
    "position": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 19.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Position"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "idempotency_key",
    "expected_version",
    "rationale"
  ]
}