{
  "$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-artifact-response-list-schema.json",
  "title": "PaginatedArtifactResponseList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-artifacts-api-openapi.yml#/components/schemas/PaginatedArtifactResponseList",
  "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/ArtifactResponse"
      }
    }
  },
  "$defs": {
    "ArtifactResponse": {
      "type": "object",
      "description": "Base serializer for use with :class:`pulpcore.app.models.Model`\n\nThis ensures that all Serializers provide values for the 'pulp_href` field.\n\nThe class provides a default for the ``ref_name`` attribute in the\nModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions\nof plugins are namespaced properly.",
      "properties": {
        "pulp_href": {
          "type": "string",
          "format": "uri",
          "readOnly": true
        },
        "pulp_created": {
          "type": "string",
          "format": "date-time",
          "readOnly": true,
          "description": "Timestamp of creation."
        },
        "pulp_last_updated": {
          "type": "string",
          "format": "date-time",
          "readOnly": true,
          "description": "Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same."
        },
        "file": {
          "type": "string",
          "description": "The stored file."
        },
        "size": {
          "type": "integer",
          "format": "int64",
          "description": "The size of the file in bytes."
        },
        "md5": {
          "type": [
            "string",
            "null"
          ],
          "description": "The MD5 checksum of the file if available."
        },
        "sha1": {
          "type": [
            "string",
            "null"
          ],
          "description": "The SHA-1 checksum of the file if available."
        },
        "sha224": {
          "type": [
            "string",
            "null"
          ],
          "description": "The SHA-224 checksum of the file if available."
        },
        "sha256": {
          "type": [
            "string",
            "null"
          ],
          "description": "The SHA-256 checksum of the file if available."
        },
        "sha384": {
          "type": [
            "string",
            "null"
          ],
          "description": "The SHA-384 checksum of the file if available."
        },
        "sha512": {
          "type": [
            "string",
            "null"
          ],
          "description": "The SHA-512 checksum of the file if available."
        }
      },
      "required": [
        "file"
      ]
    }
  }
}