{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-management/json-schema/amazon-iot-device-management-get-effective-policies-response-schema.json",
  "title": "GetEffectivePoliciesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-management-effective-policies-api-openapi.yml#/components/schemas/GetEffectivePoliciesResponse",
  "type": "object",
  "properties": {
    "effectivePolicies": {
      "allOf": [
        {
          "$ref": "#/$defs/EffectivePolicies"
        },
        {
          "description": "The effective policies."
        }
      ]
    }
  },
  "$defs": {
    "EffectivePolicies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EffectivePolicy"
      }
    },
    "EffectivePolicy": {
      "type": "object",
      "properties": {
        "policyName": {
          "allOf": [
            {
              "$ref": "#/$defs/PolicyName"
            },
            {
              "description": "The policy name."
            }
          ]
        },
        "policyArn": {
          "allOf": [
            {
              "$ref": "#/$defs/PolicyArn"
            },
            {
              "description": "The policy ARN."
            }
          ]
        },
        "policyDocument": {
          "allOf": [
            {
              "$ref": "#/$defs/PolicyDocument"
            },
            {
              "description": "The IAM policy document."
            }
          ]
        }
      },
      "description": "The policy that has the effect on the authorization results."
    },
    "PolicyArn": {
      "type": "string"
    },
    "PolicyDocument": {
      "type": "string",
      "pattern": "[\\s\\S]*",
      "minLength": 0,
      "maxLength": 404600
    },
    "PolicyName": {
      "type": "string",
      "pattern": "[\\w+=,.@-]+",
      "minLength": 1,
      "maxLength": 128
    }
  }
}