{
  "$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-sync-list-response-list-schema.json",
  "title": "PaginatedSyncListResponseList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-api-ui-v1-my-synclists-api-openapi.yml#/components/schemas/PaginatedSyncListResponseList",
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer"
        }
      }
    },
    "links": {
      "type": "object",
      "properties": {
        "first": {
          "type": [
            "string",
            "null"
          ]
        },
        "previous": {
          "type": [
            "string",
            "null"
          ]
        },
        "next": {
          "type": [
            "string",
            "null"
          ]
        },
        "last": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SyncListResponse"
      }
    }
  },
  "$defs": {
    "Policy8baEnum": {
      "enum": [
        "exclude",
        "include"
      ],
      "type": "string",
      "description": "* `exclude` - exclude\n* `include` - include"
    },
    "SyncListCollectionSummaryResponse": {
      "type": "object",
      "properties": {
        "namespace": {
          "type": "string",
          "maxLength": 64
        },
        "name": {
          "type": "string",
          "maxLength": 64
        }
      },
      "required": [
        "name",
        "namespace"
      ]
    },
    "SyncListResponse": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int64",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "maxLength": 64
        },
        "policy": {
          "$ref": "#/$defs/Policy8baEnum"
        },
        "upstream_repository": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "repository": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid",
          "readOnly": true
        },
        "distribution": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "collections": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SyncListCollectionSummaryResponse"
          }
        },
        "namespaces": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "groups": {
          "type": "string"
        }
      },
      "required": [
        "collections",
        "groups",
        "name",
        "namespaces"
      ]
    }
  }
}