{
  "$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-resource-type-response-list-schema.json",
  "title": "PaginatedResourceTypeResponseList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-api-service-index-resource-types-api-openapi.yml#/components/schemas/PaginatedResourceTypeResponseList",
  "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/ResourceTypeResponse"
      }
    }
  },
  "$defs": {
    "ResourceTypeResponse": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "readOnly": true,
          "description": "The name of this resource type."
        },
        "externally_managed": {
          "type": "boolean",
          "description": "Is this resource type managed externally from this service."
        },
        "shared_resource_type": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true
        },
        "url": {
          "type": "string",
          "readOnly": true
        }
      },
      "required": [
        "externally_managed"
      ]
    }
  }
}