{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iam-access-analyzer/refs/heads/main/json-schema/iam-access-analyzer-path-element-list-schema.json",
"title": "PathElementList",
"description": "PathElementList schema from AWS IAM Access Analyzer API",
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"allOf": [
{
"$ref": "#/components/schemas/Integer"
},
{
"description": "Refers to an index in a JSON array."
}
]
},
"key": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "Refers to a key in a JSON object."
}
]
},
"substring": {
"allOf": [
{
"$ref": "#/components/schemas/Substring"
},
{
"description": "Refers to a substring of a literal string in a JSON object."
}
]
},
"value": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "Refers to the value associated with a given key in a JSON object."
}
]
}
},
"description": "A single element in a path through the JSON representation of a policy."
}
}