{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-ansible-automation-platform/json-schema/red-hat-ansible-automation-platform-paginated-authenticator-map-list-schema.json",
  "title": "PaginatedAuthenticatorMapList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-authenticator-maps-api-openapi.yml#/components/schemas/PaginatedAuthenticatorMapList",
  "type": "object",
  "required": [
    "count",
    "results"
  ],
  "properties": {
    "count": {
      "type": "integer"
    },
    "next": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "previous": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AuthenticatorMap"
      }
    }
  },
  "$defs": {
    "AuthenticatorMap": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "readOnly": true
        },
        "url": {
          "type": "string",
          "readOnly": true
        },
        "related": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "readOnly": true
        },
        "summary_fields": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {}
          },
          "readOnly": true
        },
        "created": {
          "type": "string",
          "format": "date-time",
          "readOnly": true,
          "description": "The date/time this resource was created."
        },
        "created_by": {
          "type": [
            "integer",
            "null"
          ],
          "readOnly": true,
          "description": "The user who created this resource."
        },
        "modified": {
          "type": "string",
          "format": "date-time",
          "readOnly": true,
          "description": "The date/time this resource was created."
        },
        "modified_by": {
          "type": [
            "integer",
            "null"
          ],
          "readOnly": true,
          "description": "The user who last modified this resource."
        },
        "name": {
          "type": "string",
          "description": "The name of this resource.",
          "maxLength": 512
        },
        "authenticator": {
          "type": "integer",
          "description": "The authenticator this mapping belongs to."
        },
        "map_type": {
          "enum": [
            "allow",
            "is_superuser",
            "role",
            "organization",
            "team"
          ],
          "type": "string",
          "x-spec-enum-id": "4064e71cef1ae1e7",
          "description": "What will the map grant the user? System access (allow) a team or organization membership, the superuser flag or a role in the system.\n\n* `allow` - allow\n* `is_superuser` - is_superuser\n* `role` - role\n* `organization` - organization\n* `team` - team"
        },
        "role": {
          "type": [
            "string",
            "null"
          ],
          "description": "The role this map will grant the authenticating user to the targeted object. Will expand {% for_attr_value(user_orgs) %} syntax",
          "maxLength": 512
        },
        "organization": {
          "type": [
            "string",
            "null"
          ],
          "description": "An organization name this rule works on. Will expand {% for_attr_value(user_orgs) %} syntax",
          "maxLength": 512
        },
        "team": {
          "type": [
            "string",
            "null"
          ],
          "description": "A team name this rule works on. Will expand {% for_attr_value(user_orgs) %} syntax.",
          "maxLength": 512
        },
        "revoke": {
          "type": "boolean",
          "description": "Revoke the permission if a user does not meet this rule."
        },
        "triggers": {
          "description": "Required. Trigger conditions dictionary that determines when this map applies. See /trigger_definition/ for structure details. Only one top-level key per request."
        },
        "order": {
          "type": "integer",
          "maximum": 2147483647,
          "minimum": 0,
          "description": "The order in which this rule should be processed, smaller numbers are of higher precedence. Items with the same order will be executed in random order."
        }
      },
      "required": [
        "authenticator",
        "name",
        "triggers"
      ]
    }
  }
}