{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/inspection_test_result/v1.json",
  "title": "inspection_test_result contract v1",
  "type": "object",
  "required": [
    "material",
    "project",
    "result_unit",
    "result_value",
    "test_method",
    "tested_on"
  ],
  "properties": {
    "outlier": {
      "type": "boolean",
      "description": "whether the result was treated as an outlier",
      "x-demiton-requiredness": "optional"
    },
    "project": {
      "type": "string",
      "description": "the project whose works were tested",
      "x-demiton-requiredness": "required",
      "x-demiton-reference": true
    },
    "complies": {
      "type": "boolean",
      "description": "whether the result meets the specification",
      "x-demiton-requiredness": "optional"
    },
    "material": {
      "type": "string",
      "description": "what was tested, e.g. soil, concrete or aggregate",
      "x-demiton-requiredness": "required"
    },
    "specimen": {
      "type": "string",
      "description": "the specimen type and geometry, or the mould used",
      "x-demiton-requiredness": "optional"
    },
    "test_lot": {
      "type": "string",
      "description": "the test lot the result belongs to",
      "x-demiton-requiredness": "optional"
    },
    "tested_on": {
      "type": "string",
      "description": "the date the test was performed",
      "x-demiton-requiredness": "required",
      "x-demiton-unit": "day",
      "format": "date",
      "x-demiton-type": "date"
    },
    "accredited": {
      "type": "boolean",
      "description": "whether the laboratory is accredited for the test",
      "x-demiton-requiredness": "optional"
    },
    "laboratory": {
      "type": "string",
      "description": "the laboratory that did the test",
      "x-demiton-requiredness": "optional"
    },
    "sampled_at": {
      "type": "string",
      "description": "when the sample was taken",
      "x-demiton-requiredness": "optional",
      "format": "date-time",
      "x-demiton-type": "datetime"
    },
    "external_id": {
      "type": "string",
      "description": "the laboratory report or sample id",
      "x-demiton-requiredness": "optional"
    },
    "result_name": {
      "type": "string",
      "description": "the quantity measured, e.g. compressive strength or dry density ratio",
      "x-demiton-requiredness": "optional"
    },
    "result_unit": {
      "type": "string",
      "description": "the unit of the result, e.g. MPa or percent",
      "x-demiton-requiredness": "required"
    },
    "test_method": {
      "type": "string",
      "description": "the method designation and year, e.g. AS 1012.9:2014",
      "x-demiton-requiredness": "required"
    },
    "result_value": {
      "type": "number",
      "description": "the measured result",
      "x-demiton-requiredness": "required",
      "x-demiton-type": "decimal"
    },
    "curing_regime": {
      "type": "string",
      "description": "how the concrete specimen was cured",
      "x-demiton-requiredness": "optional"
    },
    "defects_noted": {
      "type": "string",
      "description": "specimen defects recorded at test",
      "x-demiton-requiredness": "optional"
    },
    "test_location": {
      "type": "string",
      "description": "where on the works the test or sample was taken",
      "x-demiton-requiredness": "optional"
    },
    "drawing_number": {
      "type": "string",
      "description": "the drawing the test lot was built to, as the drawing register numbers it; the rework drift rule joins the lot to the drawing's revision history on it",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "field_moisture": {
      "type": "number",
      "description": "the field moisture measured",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "percent",
      "x-demiton-type": "decimal"
    },
    "mix_identifier": {
      "type": "string",
      "description": "the concrete mix or supply identifier",
      "x-demiton-requiredness": "optional"
    },
    "age_at_test_days": {
      "type": "integer",
      "description": "the specimen's age when tested",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "days"
    },
    "competent_person": {
      "type": "string",
      "description": "the competent person responsible for the test",
      "x-demiton-requiredness": "optional",
      "x-demiton-reference": true
    },
    "drawing_revision": {
      "type": "string",
      "description": "the revision of that drawing the test lot was built to, as the drawing register labels it; the rework drift rule compares it with the revision current on the lot's work date",
      "x-demiton-requiredness": "optional"
    },
    "inspection_level": {
      "type": "string",
      "description": "the declared inspection and testing level, Level 1 or Level 2",
      "x-demiton-requiredness": "optional"
    },
    "field_dry_density": {
      "type": "number",
      "description": "the field dry density measured",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "t/m3",
      "x-demiton-type": "decimal"
    },
    "testing_authority": {
      "type": "string",
      "description": "whether a GITA or a GTA did the testing",
      "x-demiton-requiredness": "optional"
    },
    "specification_value": {
      "type": "number",
      "description": "the acceptance criterion the result is judged against",
      "x-demiton-requiredness": "optional",
      "x-demiton-type": "decimal"
    },
    "reference_dry_density": {
      "type": "number",
      "description": "the reference maximum dry density",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "t/m3",
      "x-demiton-type": "decimal"
    },
    "optimum_moisture_content": {
      "type": "number",
      "description": "the optimum moisture content",
      "x-demiton-requiredness": "optional",
      "x-demiton-unit": "percent",
      "x-demiton-type": "decimal"
    }
  },
  "x-demiton-register-type": "inspection_test_result",
  "x-demiton-contract-version": "1.2.0",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [],
  "x-demiton-measures": [],
  "x-demiton-provenance": {
    "standards": [
      {
        "code": "AS 1012 series",
        "title": "Methods of testing concrete",
        "access": "paywalled_secondary",
        "clause": "AS 1012.9:2014 cl 4 (specimen defects to be noted per cl 11 and 12)",
        "region": "Australia",
        "edition": "series; parts separately dated (e.g. AS 1012.1:2014, 1012.8.1:2014, 1012.9:2014, 1012.14:2018)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS 1289 series",
        "title": "Methods of testing soils for engineering purposes",
        "access": "paywalled_secondary",
        "clause": "AS 1289.5.1.1:2017 cl 3.1 (competent person)",
        "region": "Australia",
        "edition": "series; umbrella AS 1289.0:2014; parts separately dated (e.g. AS 1289.5.1.1:2017, 5.2.1:2017, 5.4.1:2007, 5.8.1:2007)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS 1379",
        "title": "Specification and supply of concrete",
        "access": "public_summary",
        "region": "Australia",
        "edition": "edition conflicting: index lists 2007 as current, a reseller advertised AS 1379:2026 (unverified)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "AS 3798-2007",
        "title": "Guidelines on earthworks for commercial and residential developments",
        "access": "public_summary",
        "clause": "s 3.5 site records; s 8.2-8.7 (Level 1/2, GITA, GTA, statements of compliance, frequency); App C4 outliers",
        "region": "Australia",
        "edition": "2007 incorporating Amd 1 (2008)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "NATA accreditation",
        "title": "National Association of Testing Authorities accreditation",
        "access": "public_summary",
        "region": "Australia",
        "edition": "current",
        "checked_on": "2026-09-14"
      },
      {
        "code": "EN 12350 / EN 12390 / EN 13286",
        "title": "European concrete and unbound-mixture test standards",
        "access": "public_summary",
        "region": "European Union",
        "edition": "EN editions as adopted by BS/I.S.",
        "checked_on": "2026-09-14"
      },
      {
        "code": "ISO/IEC 17025:2017",
        "title": "General requirements for the competence of testing and calibration laboratories",
        "access": "public_summary",
        "clause": "cl 7 process requirements (no sub-clause cited)",
        "region": "International",
        "edition": "2017",
        "checked_on": "2026-09-14"
      },
      {
        "code": "NZS 3112:1986",
        "title": "Methods of test for concrete",
        "access": "public_summary",
        "region": "New Zealand",
        "edition": "1986 (parts 3112.1, 3112.2)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "NZS 4402:1986",
        "title": "Methods of testing soils for civil engineering purposes",
        "access": "public_summary",
        "region": "New Zealand",
        "edition": "1986 (parts 4402.1, 4402.4.1.1, 4402.5.1.1)",
        "checked_on": "2026-09-14"
      },
      {
        "code": "BS EN 12350 / BS EN 12390",
        "title": "Testing fresh concrete / Testing hardened concrete",
        "access": "public_summary",
        "region": "United Kingdom",
        "edition": "e.g. BS EN 12350-1:2019, -2:2019; BS EN 12390-1:2021, -2:2019, -3:2019, -4:2025, -5:2019",
        "checked_on": "2026-09-14"
      },
      {
        "code": "BS EN 13286 / BS 1377",
        "title": "Unbound and hydraulically bound mixtures / Methods of test for soils for civil engineering purposes",
        "access": "public_summary",
        "region": "United Kingdom",
        "edition": "BS EN 13286-1:2021, BS EN 13286-2:2010, BS 1377-9:2025",
        "checked_on": "2026-09-14"
      },
      {
        "code": "ASTM C172 / C31 / C39 / C143 / C231",
        "title": "ASTM fresh and hardened concrete sampling and test methods",
        "access": "public_summary",
        "region": "United States",
        "edition": "C172/C172M-25, C31/C31M-26a, C39/C39M-24, C143/C143M-26a, C231/C231M-26",
        "checked_on": "2026-09-14"
      },
      {
        "code": "ASTM D698 / D1557 / D6938 / D2216",
        "title": "ASTM soil compaction, nuclear density and water content methods",
        "access": "public_summary",
        "region": "United States",
        "edition": "D698-12, D1557-12, D6938-23, D2216-19",
        "checked_on": "2026-09-14"
      }
    ]
  },
  "description": "Soil and concrete test results (AS 1289, AS 1012).",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/inspection_test_result/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}