{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/klisten-co-kr/json-schema/klisten-co-kr-action-check-request-schema.json",
  "title": "ActionCheckRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/klisten-co-kr-actioncheck-api-openapi.yml#/components/schemas/ActionCheckRequest",
  "type": "object",
  "properties": {
    "policy_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "action": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "read",
            "write",
            "delete",
            "publish",
            "send",
            "purchase",
            "execute"
          ]
        },
        "resource": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2048
        },
        "estimated_cost_minor": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "currency": {
          "type": "string",
          "pattern": "^[A-Z]{3}$"
        },
        "irreversible": {
          "type": "boolean"
        }
      },
      "required": [
        "type",
        "resource",
        "estimated_cost_minor",
        "currency",
        "irreversible"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "policy_id",
    "action"
  ],
  "additionalProperties": false
}