{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/circleci/main/json-schema/circleci-artifact-list-schema.json",
  "title": "ArtifactList",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/circleci-job-api-openapi.yml#/components/schemas/ArtifactList",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Artifact"
      },
      "description": "List of artifacts"
    },
    "next_page_token": {
      "type": "string",
      "description": "Token for retrieving the next page"
    }
  },
  "$defs": {
    "Artifact": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "description": "The artifact path"
        },
        "node_index": {
          "type": "integer",
          "description": "The node index that produced this artifact"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "URL to download the artifact"
        }
      }
    }
  }
}