{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-management/json-schema/amazon-iot-device-management-list-attached-policies-response-schema.json",
  "title": "ListAttachedPoliciesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-management-attached-policies-api-openapi.yml#/components/schemas/ListAttachedPoliciesResponse",
  "type": "object",
  "properties": {
    "policies": {
      "allOf": [
        {
          "$ref": "#/$defs/Policies"
        },
        {
          "description": "The policies."
        }
      ]
    },
    "nextMarker": {
      "allOf": [
        {
          "$ref": "#/$defs/Marker"
        },
        {
          "description": "The token to retrieve the next set of results, or ``null`` if there are no more results."
        }
      ]
    }
  },
  "$defs": {
    "Marker": {
      "type": "string",
      "pattern": "[A-Za-z0-9+/]+={0,2}",
      "maxLength": 1024
    },
    "Policies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Policy"
      }
    },
    "Policy": {
      "type": "object",
      "properties": {
        "policyName": {
          "allOf": [
            {
              "$ref": "#/$defs/PolicyName"
            },
            {
              "description": "The policy name."
            }
          ]
        },
        "policyArn": {
          "allOf": [
            {
              "$ref": "#/$defs/PolicyArn"
            },
            {
              "description": "The policy ARN."
            }
          ]
        }
      },
      "description": "Describes an IoT policy."
    },
    "PolicyArn": {
      "type": "string"
    },
    "PolicyName": {
      "type": "string",
      "pattern": "[\\w+=,.@-]+",
      "minLength": 1,
      "maxLength": 128
    }
  }
}