{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-rekognition/json-schema/amazon-rekognition-put-project-policy-request-schema.json",
  "title": "PutProjectPolicyRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-rekognition-project-policy-api-openapi.yml#/components/schemas/PutProjectPolicyRequest",
  "type": "object",
  "properties": {
    "ProjectArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the project that the project policy is attached to."
    },
    "PolicyName": {
      "type": "string",
      "description": "A name for the policy."
    },
    "PolicyRevisionId": {
      "type": "string",
      "description": "The revision ID for the Project Policy. Each time you modify a policy, Amazon Rekognition Custom Labels generates and assigns a new PolicyRevisionId and then deletes the previous version of the policy."
    },
    "PolicyDocument": {
      "type": "string",
      "description": "A resource policy to add to the model. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference."
    }
  },
  "required": [
    "ProjectArn",
    "PolicyName",
    "PolicyDocument"
  ]
}