{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-management/json-schema/amazon-iot-device-management-test-invoke-authorizer-response-schema.json",
  "title": "TestInvokeAuthorizerResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-management-authorizer-api-openapi.yml#/components/schemas/TestInvokeAuthorizerResponse",
  "type": "object",
  "properties": {
    "isAuthenticated": {
      "allOf": [
        {
          "$ref": "#/$defs/IsAuthenticated"
        },
        {
          "description": "True if the token is authenticated, otherwise false."
        }
      ]
    },
    "principalId": {
      "allOf": [
        {
          "$ref": "#/$defs/PrincipalId"
        },
        {
          "description": "The principal ID."
        }
      ]
    },
    "policyDocuments": {
      "allOf": [
        {
          "$ref": "#/$defs/PolicyDocuments"
        },
        {
          "description": "IAM policy documents."
        }
      ]
    },
    "refreshAfterInSeconds": {
      "allOf": [
        {
          "$ref": "#/$defs/Seconds"
        },
        {
          "description": "The number of seconds after which the temporary credentials are refreshed."
        }
      ]
    },
    "disconnectAfterInSeconds": {
      "allOf": [
        {
          "$ref": "#/$defs/Seconds"
        },
        {
          "description": "The number of seconds after which the connection is terminated."
        }
      ]
    }
  },
  "$defs": {
    "IsAuthenticated": {
      "type": "boolean"
    },
    "PolicyDocument": {
      "type": "string",
      "pattern": "[\\s\\S]*",
      "minLength": 0,
      "maxLength": 404600
    },
    "PolicyDocuments": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PolicyDocument"
      }
    },
    "PrincipalId": {
      "type": "string",
      "pattern": "[a-zA-Z0-9]+",
      "minLength": 1,
      "maxLength": 128
    },
    "Seconds": {
      "type": "integer"
    }
  }
}