{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/drawing_register/v1.json",
  "title": "drawing_register contract v1",
  "type": "object",
  "required": [
    "drawing_number",
    "external_id",
    "project",
    "revision",
    "title"
  ],
  "properties": {
    "scale": {
      "type": "string",
      "description": "the drawing scale",
      "x-demiton-requiredness": "optional"
    },
    "title": {
      "type": "string",
      "description": "the drawing's title",
      "x-demiton-requiredness": "required"
    },
    "author": {
      "type": "string",
      "description": "who produced the drawing",
      "x-demiton-requiredness": "optional"
    },
    "status": {
      "type": "string",
      "description": "the status or suitability the revision was issued for",
      "x-demiton-requiredness": "optional"
    },
    "current": {
      "type": "boolean",
      "description": "whether this revision is in the current drawing set",
      "x-demiton-requiredness": "optional"
    },
    "project": {
      "type": "string",
      "description": "the project whose register holds the drawing",
      "x-demiton-requiredness": "required",
      "x-demiton-reference": true
    },
    "revision": {
      "type": "string",
      "description": "the revision this row describes",
      "x-demiton-requiredness": "required"
    },
    "file_name": {
      "type": "string",
      "description": "the file behind the revision",
      "x-demiton-requiredness": "optional"
    },
    "discipline": {
      "type": "string",
      "description": "the design discipline, e.g. civil or structural",
      "x-demiton-requiredness": "optional"
    },
    "print_size": {
      "type": "string",
      "description": "the sheet size",
      "x-demiton-requiredness": "optional"
    },
    "external_id": {
      "type": "string",
      "description": "the source system's own register entry id",
      "x-demiton-requiredness": "required"
    },
    "authorised_by": {
      "type": "string",
      "description": "who authorised the revision",
      "x-demiton-requiredness": "optional"
    },
    "document_type": {
      "type": "string",
      "description": "the register's document type",
      "x-demiton-requiredness": "optional"
    },
    "registered_at": {
      "type": "string",
      "description": "when the revision was registered",
      "x-demiton-requiredness": "optional",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "review_status": {
      "type": "string",
      "description": "the outcome of the review of the revision",
      "x-demiton-requiredness": "optional"
    },
    "revision_date": {
      "type": "string",
      "description": "the date of the revision",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "day",
      "format": "date",
      "x-demiton-type": "date"
    },
    "drawing_number": {
      "type": "string",
      "description": "the drawing's number on the register",
      "x-demiton-requiredness": "required"
    },
    "version_number": {
      "type": "integer",
      "description": "the register's version counter for the entry",
      "x-demiton-requiredness": "optional"
    },
    "as_built_required": {
      "type": "boolean",
      "description": "whether an as-built revision is required",
      "x-demiton-requiredness": "optional"
    }
  },
  "x-demiton-register-type": "drawing_register",
  "x-demiton-contract-version": "1.0.3",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [],
  "x-demiton-measures": [],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "AS ISO 19650.1:2019 / AS ISO 19650.2:2019",
        "title": "Organization and digitization of information about buildings and civil engineering works, including BIM - Information management using BIM - Part 1: Concepts and principles",
        "access": "public_summary",
        "region": "Australia",
        "edition": "2019",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS ISO 19650.2:2019",
        "title": "Information management using BIM - Part 2: Delivery phase of the assets",
        "access": "public_summary",
        "region": "Australia",
        "edition": "2019",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Privacy Act 1988 (Cth)",
        "title": "Privacy Act 1988 - Australian Privacy Principles",
        "access": "public_summary",
        "clause": "APPs 1-13",
        "region": "Australia",
        "edition": "compilation current at 2026-09",
        "checked_on": "2026-09-14"
      },
      {
        "code": "EN ISO 19650-1:2018 / EN ISO 19650-2:2018",
        "title": "European adoptions of ISO 19650-1/-2 (CEN)",
        "access": "public_summary",
        "region": "European Union",
        "edition": "2018",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Regulation (EU) 2016/679 (GDPR)",
        "title": "General Data Protection Regulation",
        "access": "public_summary",
        "region": "European Union",
        "edition": "2016/679",
        "checked_on": "2026-09-14"
      },
      {
        "code": "ISO 19650-1:2018 / ISO 19650-2:2018",
        "title": "Information management using building information modelling - Part 1: Concepts and principles",
        "access": "public_summary",
        "region": "International",
        "edition": "2018",
        "checked_on": "2026-09-14"
      },
      {
        "code": "ISO 19650-2:2018",
        "title": "Information management using building information modelling - Part 2: Delivery phase of the assets",
        "access": "public_summary",
        "region": "International",
        "edition": "2018",
        "checked_on": "2026-09-14"
      },
      {
        "code": "Privacy Act 2020 (NZ)",
        "title": "Privacy Act 2020 - Information Privacy Principles",
        "access": "public_summary",
        "clause": "IPPs 1-13",
        "region": "New Zealand",
        "edition": "2020 No 31",
        "checked_on": "2026-09-14"
      },
      {
        "code": "BS EN ISO 19650-1:2018 / BS EN ISO 19650-2:2018",
        "title": "UK adoptions of ISO 19650-1/-2 (UK BIM Framework, now IMI Framework)",
        "access": "public_summary",
        "region": "United Kingdom",
        "edition": "2018",
        "checked_on": "2026-09-14"
      },
      {
        "code": "BS EN ISO 19650-2 UK National Annex",
        "title": "UK National Annex to BS EN ISO 19650-2 (status and revision codes)",
        "access": "paywalled_secondary",
        "clause": "NA.4.2 / Table NA.2; NA.4.3 (reported by third party)",
        "region": "United Kingdom",
        "edition": "2021",
        "checked_on": "2026-09-14"
      },
      {
        "code": "UK GDPR and Data Protection Act 2018",
        "title": "UK General Data Protection Regulation with Data Protection Act 2018",
        "access": "public_summary",
        "region": "United Kingdom",
        "edition": "UK GDPR (retained) + DPA 2018",
        "checked_on": "2026-09-14"
      }
    ]
  },
  "description": "The drawing register: each drawing, its revision and status.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/drawing_register/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}