{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-create-security-policy-request-schema.json",
  "title": "CreateSecurityPolicyRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-opensearch-security-policy-api-openapi.yml#/components/schemas/CreateSecurityPolicyRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of security policy."
    },
    "name": {
      "type": "string",
      "description": "The name of the policy."
    },
    "description": {
      "type": "string",
      "description": "A description of the policy. Typically used to store information about the permissions defined in the policy."
    },
    "policy": {
      "type": "string",
      "description": "The JSON policy document to use as the content for the new policy."
    },
    "clientToken": {
      "type": "string",
      "description": "Unique, case-sensitive identifier to ensure idempotency of the request."
    }
  },
  "required": [
    "type",
    "name",
    "policy"
  ]
}