{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/passage-data-com/json-schema/passage-data-com-dwc-archive-schema.json",
  "title": "DwcArchive",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/passage-data-com-openapi.json#/components/schemas/DwcArchive",
  "type": "object",
  "properties": {
    "archive": {
      "type": "object",
      "properties": {
        "filename": {
          "type": "string"
        },
        "bytes": {
          "type": "integer"
        },
        "sha256": {
          "type": "string"
        },
        "core": {
          "type": "string"
        },
        "records": {
          "type": "integer"
        },
        "rows_in": {
          "type": "integer"
        },
        "rows_lost": {
          "type": "integer"
        },
        "rows_refused": {
          "type": "integer"
        },
        "terms": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "extensions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "members": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "bytes": {
                "type": "integer"
              }
            }
          }
        },
        "publishable": {
          "type": "object",
          "properties": {
            "ok": {
              "type": "boolean"
            },
            "missing": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "says": {
              "type": "string"
            }
          }
        },
        "generalised": {
          "type": [
            "object",
            "null"
          ]
        },
        "inline": {
          "type": "boolean"
        },
        "base64": {
          "type": "string"
        }
      }
    },
    "could_not_read": {
      "type": "object",
      "properties": {
        "n": {
          "type": [
            "integer",
            "null"
          ]
        },
        "vocabulary": {
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "scope": {
                "type": "string"
              },
              "about": {
                "type": "string"
              },
              "n_rows": {
                "type": [
                  "integer",
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": "string"
              },
              "what_it_means": {
                "type": "string"
              },
              "what_we_saw": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "notices": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "says": {
      "type": "string"
    },
    "kept": {
      "type": "string"
    },
    "engine": {
      "type": "object",
      "properties": {
        "upload_id": {
          "type": "string"
        },
        "seconds": {
          "type": "number"
        }
      }
    },
    "refused": {
      "type": "object"
    }
  }
}