{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://law.arxo.io/schema/native-records.schema.json",
  "type": "object",
  "properties": {
    "format": {
      "const": "arxo.native.records/0.1"
    },
    "records": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "document": {
            "type": "string"
          },
          "content_hash": {
            "type": "string"
          }
        },
        "required": [
          "document",
          "content_hash"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "format",
    "records"
  ],
  "additionalProperties": false
}
