{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentrux-com/json-schema/agentrux-com-create-grant-body-schema.json",
  "title": "CreateGrantBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentrux-com-console-grant-api-openapi.yml#/components/schemas/CreateGrantBody",
  "properties": {
    "topic_id": {
      "type": "string",
      "minLength": 1,
      "title": "Topic Id"
    },
    "script_id": {
      "type": "string",
      "minLength": 1,
      "title": "Script Id"
    },
    "action": {
      "type": "string",
      "enum": [
        "read",
        "write"
      ],
      "title": "Action"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "topic_id",
    "script_id",
    "action"
  ]
}