{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stad-gent/json-schema/stad-gent-record-schema.json",
  "title": "record",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stad-gent-openapi.yml#/components/schemas/record",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string"
    },
    "_timestamp": {
      "type": "string",
      "format": "dateTime"
    },
    "_size": {
      "type": "integer",
      "format": "int64"
    },
    "_links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/links"
      }
    }
  },
  "additionalProperties": {
    "type": "any"
  },
  "$defs": {
    "links": {
      "type": "object",
      "properties": {
        "href": {
          "type": "string",
          "format": "uri"
        },
        "rel": {
          "type": "string",
          "enum": [
            "self",
            "first",
            "last",
            "next",
            "dataset",
            "catalog"
          ]
        }
      }
    }
  }
}