{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/signicat/main/json-schema/signicat-archive-archive-objects-representation-jsonld-schema.json",
  "title": "Archive.ArchiveObjectsRepresentation.jsonld",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/signicat-archive-openapi.yml#/components/schemas/Archive.ArchiveObjectsRepresentation.jsonld",
  "type": "object",
  "deprecated": false,
  "properties": {
    "@context": {
      "readOnly": true,
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "object",
          "properties": {
            "@vocab": {
              "type": "string"
            },
            "hydra": {
              "type": "string",
              "enum": [
                "http://www.w3.org/ns/hydra/core#"
              ]
            }
          },
          "required": [
            "@vocab",
            "hydra"
          ],
          "additionalProperties": true
        }
      ]
    },
    "@id": {
      "readOnly": true,
      "type": "string"
    },
    "@type": {
      "readOnly": true,
      "type": "string"
    },
    "totalItems": {
      "type": "integer"
    },
    "pageSize": {
      "type": "integer"
    },
    "currentPage": {
      "type": "integer"
    },
    "items": {
      "description": "Collection of Archive items",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Archive"
      }
    }
  },
  "$defs": {
    "Archive": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "objectId": {
          "readOnly": true,
          "type": "string"
        },
        "status": {
          "readOnly": true,
          "type": "string",
          "enum": [
            "created",
            "running_pipeline",
            "in_sync",
            "error",
            "missing_file",
            "processing",
            "failed",
            "expired",
            "deleted"
          ]
        },
        "retentionPeriod": {
          "maxLength": 50,
          "description": "The time period the resource should be archived. Format: “duration + unit”",
          "type": "string"
        },
        "tags": {
          "maxItems": 50,
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "keywords": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "file": {
          "$ref": "#/$defs/UploadedFileData"
        },
        "createdAt": {
          "readOnly": true,
          "type": "string",
          "format": "date-time"
        },
        "lastUpdatedAt": {
          "readOnly": true,
          "type": "string",
          "format": "date-time"
        },
        "expiresAt": {
          "readOnly": true,
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "required": [
        "retentionPeriod"
      ]
    },
    "UploadedFileData": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "name": {
          "type": "string"
        },
        "contentType": {
          "type": "string"
        },
        "sha256": {
          "type": "string"
        }
      }
    }
  }
}