{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "@context": {
      "example": [
        "https://vocabulary.uncefact.org/untp/0.8.0/context/"
      ],
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of JSON-LD context URIs that define the semantic meaning of properties within this conformity scheme document.",
      "readOnly": true,
      "prefixItems": [
        {
          "const": "https://vocabulary.uncefact.org/untp/0.8.0/context/",
          "type": "string"
        }
      ],
      "default": [
        "https://vocabulary.uncefact.org/untp/0.8.0/context/"
      ],
      "minItems": 1,
      "uniqueItems": true
    },
    "type": {
      "type": "array",
      "readOnly": true,
      "default": [
        "ConformityScheme"
      ],
      "items": {
        "type": "string"
      },
      "allOf": [
        {
          "contains": {
            "const": "ConformityScheme",
            "minContains": 1
          }
        }
      ]
    },
    "id": {
      "example": "https://sample-scheme.org/lrap",
      "type": "string",
      "format": "uri",
      "description": "Globally unique identifier of this conformity scheme. Typically represented as a URI SchemeOwner/SchemeName URI"
    },
    "name": {
      "example": "Labour rights assessment program",
      "type": "string",
      "description": "Name of this scheme as defined by the scheme owner."
    },
    "description": {
      "type": "string",
      "description": "Description of this conformity scheme"
    },
    "owner": {
      "type": "object",
      "properties": {
        "id": {
          "example": "https://sample-business-register.gov/123456789",
          "type": "string",
          "format": "uri",
          "description": "Globally unique identifier of this party. Typically represented as a URI identifierScheme/Identifier URI"
        },
        "name": {
          "example": "Sample Company Ltd",
          "type": "string",
          "description": "Legal registered name of this party."
        },
        "registeredId": {
          "example": 90664869327,
          "type": "string",
          "description": "The registration number (alphanumeric) of the Party within the register. Unique within the register."
        }
      },
      "required": [
        "id",
        "name"
      ],
      "description": "The party that is the owner / maintainer of this conformity scheme."
    },
    "schemeDeclaration": {
      "$ref": "#/$defs/SchemeDeclaration",
      "description": "The scheme owner's declaration that the scheme's governance, development and delivery processes meet applicable international standards. Mandatory for every scheme at every maturity level."
    },
    "schemeAuthority": {
      "type": "string",
      "enum": [
        "authority-mandate",
        "authority-accreditation",
        "authority-benchmarked"
      ],
      "example": "authority-benchmarked",
      "description": "A code for the type of authority-derived recognition for a conformity scheme. Absence of this property, together with the mandatory schemeDeclaration, is how a consumer reads a self-declared scheme."
    },
    "authorityEvidence": {
      "$ref": "#/$defs/Link",
      "description": "Evidence of the authority recognition asserted in schemeAuthority."
    },
    "version": {
      "example": "1.0.0",
      "type": "string",
      "description": "Version of this scheme following SemVer best practice (major.minor.patch)."
    },
    "validFrom": {
      "example": "2026-01-01",
      "type": "string",
      "format": "date",
      "description": "The date from which this scheme version is valid."
    },
    "validUntil": {
      "example": "2029-01-01",
      "type": "string",
      "format": "date",
      "description": "The date after which this scheme version is no longer valid."
    },
    "status": {
      "type": "string",
      "enum": [
        "proposed",
        "active",
        "deprecated"
      ],
      "example": "active",
      "description": "The lifecycle status of this scheme version."
    },
    "schemeScoringFramework": {
      "$ref": "#/$defs/ScoringFramework",
      "description": "The scheme level overall scoring framework that represents the achievement levels (AA, A, B etc) that maybe be awarded to the subject of an independent assessment under the scheme."
    },
    "documentation": {
      "type": "string",
      "format": "uri",
      "description": "A web page providing full documentation of this scheme."
    },
    "dataLicense": {
      "type": "string",
      "enum": [
        "proprietary-Code",
        "proprietary-Document",
        "permissive-OpenSource",
        "copyleft",
        "creative-Commons",
        "source-Available",
        "public"
      ],
      "example": "proprietary-Code",
      "description": "Descriptive name and URL link to the data license conditions associated with this scheme."
    },
    "establishedDate": {
      "type": "string",
      "format": "date",
      "description": "The date when this scheme was first established.  "
    },
    "geographicScope": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Classification"
      },
      "description": "The geographic scope of this scheme as a list of ISO-3166 countries, regions, or code=001, name=Worldwide to indicate global coverage."
    },
    "industryScope": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Classification"
      },
      "description": "A list of UN ISIC code & name indicating the industry scope for this scheme.  "
    },
    "trustmark": {
      "$ref": "#/$defs/Image",
      "description": "The trust mark or seal used by this conformity scheme."
    },
    "conformsTo": {
      "type": "object",
      "properties": {
        "linkName": {
          "type": "string",
          "description": "Display name for this link."
        },
        "linkURL": {
          "example": "https://files.example-certifier.com/1234567.json",
          "type": "string",
          "format": "uri",
          "description": "The URL of the target resource.  "
        }
      },
      "required": [
        "linkName",
        "linkURL"
      ],
      "description": "The name and URI of the vocabulary standard (eg UNTP CVC) that the machine readable version of this sceme conforms to."
    },
    "includedProfile": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConformityProfile"
      },
      "description": "The list of versioned conformity profiles included in this scheme"
    }
  },
  "description": "A formal governance scheme under which an attestation is issued (eg ACRS structural steel certification) ",
  "required": [
    "@context",
    "id",
    "name",
    "owner",
    "documentation",
    "schemeDeclaration",
    "version",
    "validFrom",
    "status"
  ],
  "$defs": {
    "Image": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "name": {
          "example": "certification trust mark",
          "type": "string",
          "description": "the display name for this image"
        },
        "description": {
          "type": "string",
          "description": "The detailed description / supporting information for this image."
        },
        "imageData": {
          "type": "string",
          "format": "byte",
          "description": "The image data encoded as a base64 string."
        },
        "mediaType": {
          "type": "string",
          "x-external-enumeration": "https://mimetype.io/",
          "description": "The media type of this image (eg image/png)\n\n    This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL:  https://mimetype.io/\n    "
        }
      },
      "description": "A binary image encoded as base64 text and embedded into the data.  Use this for small images like certification trust marks or regulated labels.  Large images should be external links.",
      "required": [
        "name",
        "imageData",
        "mediaType"
      ]
    },
    "ContactPoint": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "email": {
          "example": "scheme-integrity@example.com",
          "type": "string",
          "format": "email",
          "description": "Email address at which concerns can be raised."
        },
        "website": {
          "example": "https://example.com/contact",
          "type": "string",
          "format": "uri",
          "description": "Web page at which concerns can be raised."
        }
      },
      "description": "The necessary subset of the UN/CEFACT ContactPoint: a point of contact for the scheme declaration. At least one of email or website should be present."
    },
    "Link": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "linkURL": {
          "example": "https://files.example-certifier.com/1234567.json",
          "type": "string",
          "format": "uri",
          "description": "The URL of the target resource.  "
        },
        "linkName": {
          "type": "string",
          "description": "Display name for this link."
        },
        "digestMultibase": {
          "example": "abc123-example-digest-invalid",
          "type": "string",
          "description": "An optional multi-base encoded digest to ensure the content of the link has not changed. See https://www.w3.org/TR/vc-data-integrity/#resource-integrity for more information."
        },
        "mediaType": {
          "example": "application/ld+json",
          "type": "string",
          "description": "The media type of the target resource."
        },
        "linkType": {
          "example": "https://test.uncefact.org/vocabulary/link-type/dcc",
          "type": "string",
          "description": "A business classification of the target resource, as a URI drawn from a well-governed vocabulary. Distinct from mediaType, which carries the IANA media type of the target. SHOULD be drawn from a published vocabulary - UNTP's own link types, or an ecosystem vocabulary such as the [GS1 link types](https://ref.gs1.org/voc/?show=linktypes); failing that a type the issuer publishes itself at a dereferenceable URI. An [IANA link relation](https://www.iana.org/assignments/link-relations/link-relations.xhtml) is valid where the link expresses a relationship rather than a document class. UNTP does not mandate a particular vocabulary, but the URI MUST identify a definition a reader can look up.",
          "format": "uri"
        }
      },
      "description": "A structure to provide a URL link plus metadata associated with the link.",
      "required": [
        "linkURL",
        "linkName"
      ]
    },
    "ScoringFramework": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "name": {
          "example": "Some name",
          "type": "string",
          "description": "A name for this scoring framework.  Must be unique within a scheme."
        },
        "description": {
          "type": "string",
          "description": "A full text description of the criterion that clearly specifies how compliance is achieved and measured. "
        },
        "score": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Score"
          },
          "description": "A list of scores and ranks associated with this scoring framework."
        }
      },
      "description": "A scoring framework used for performance level assessments against a criteria or scheme. For example forced labour performance might score A to D depending on the percentage of workforce subject to recruitment fees.",
      "required": [
        "name",
        "description",
        "score"
      ]
    },
    "Score": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string",
          "description": "The coded value for this score (eg \"AAA\")"
        },
        "rank": {
          "type": "integer",
          "description": "The ranking of this score within the scoring framework - using an integer where \"1\" is the highest rank."
        },
        "definition": {
          "type": "string",
          "description": "A description of the meaning of this score."
        }
      },
      "description": "A single score within a scoring framework. ",
      "required": [
        "code"
      ]
    },
    "Classification": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "type": {
          "type": "array",
          "readOnly": true,
          "default": [
            "Classification"
          ],
          "items": {
            "type": "string"
          },
          "allOf": [
            {
              "contains": {
                "const": "Classification",
                "minContains": 1
              }
            }
          ]
        },
        "id": {
          "type": "string",
          "format": "uri",
          "example": "https://unstats.un.org/unsd/classifications/Econ/cpc/code/46410",
          "description": "OPTIONAL resolvable URI for this classification value within its scheme."
        },
        "code": {
          "example": "46410",
          "type": "string",
          "description": "classification code within the scheme"
        },
        "name": {
          "example": "Primary cells and primary batteries",
          "type": "string",
          "description": "Name of the classification represented by the code"
        },
        "definition": {
          "type": "string",
          "description": "A rich definition of this classification code."
        },
        "idScheme": {
          "$ref": "#/$defs/IdentifierScheme",
          "description": "The classification scheme this code is drawn from."
        }
      },
      "description": "A classification scheme and code / name representing a category value for a product, entity, or facility.",
      "required": [
        "code",
        "name",
        "idScheme"
      ]
    },
    "ConformityProfile": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "type": {
          "type": "array",
          "readOnly": true,
          "default": [
            "ConformityProfile"
          ],
          "items": {
            "type": "string"
          },
          "allOf": [
            {
              "contains": {
                "const": "ConformityProfile",
                "minContains": 1
              }
            }
          ]
        },
        "id": {
          "example": "https://vocabulary.sample-scheme.org/profile/lrap/v1.0",
          "type": "string",
          "format": "uri",
          "description": "Globally unique identifier of this context specific conformity profile. Typically represented as a URI SchemeOwner/profileID URI"
        },
        "name": {
          "example": "Forced labour assessment criterion",
          "type": "string",
          "description": "Name of this conformity profile as defined by the scheme owner."
        },
        "description": {
          "type": "string",
          "description": "The description of this versioned and context specific conformity profile."
        },
        "version": {
          "example": "1.0.0",
          "type": "string",
          "description": "Version of this scheme following SemVer best practice (major.minor.patch). "
        },
        "validFrom": {
          "example": "2025-06-10",
          "type": "string",
          "format": "date",
          "description": "The data from which this scheme version is valid."
        },
        "status": {
          "type": "string",
          "enum": [
            "proposed",
            "active",
            "deprecated"
          ],
          "example": "proposed",
          "description": "The status of this conformity profile (draft, active, deprecated)"
        },
        "objectType": {
          "type": "string",
          "enum": [
            "product",
            "facility",
            "organisation"
          ],
          "example": "product",
          "description": "The type of object of conformity assessment the profile assesses (product, facility or organisation), aligned with ISO/IEC 17000:2020."
        },
        "optionalCriteria": {
          "type": "string",
          "enum": [
            "all-mandatory",
            "minimum-thresholds",
            "alternative-pathways",
            "see-scoring-framework"
          ],
          "example": "all-mandatory",
          "description": "Whether and how the criteria listed for the profile are mandatory. Warns a consumer that a profile pass may not require every listed criterion; where minimum thresholds or alternative pathways apply, the scoring framework carries the detail."
        },
        "standardAlignment": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StandardAlignment"
          },
          "description": "A list of voluntary standards referenced by this conformity profile and against which some level of compliance can be inferred for subjects that pass an assessment.  "
        },
        "regulatoryAlignment": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RegulatoryAlignment"
          },
          "description": "A list of regulations or legally binding conventions referenced by this conformity profile and against which some level of compliance can be inferred for subjects that pass an assessment.  "
        },
        "criterionScoringFramework": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ScoringFramework"
          },
          "description": "A list of named scoring frameworks that are applied by criterion within this profile. "
        },
        "documentation": {
          "type": "string",
          "format": "uri",
          "description": "A web page that describes this entity in detail."
        },
        "criterion": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Criterion"
          },
          "description": "A list of criterion that are included in this conformity profile."
        },
        "scope": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Classification"
          },
          "description": "A set of classification codes that may be used to categorize the applicability of this criteria - for example industry sector, jurisdiction or commodity type - based on a formal vocabulary."
        },
        "scheme": {
          "type": "object",
          "properties": {
            "id": {
              "example": "https://sample-scheme.org/lrap",
              "type": "string",
              "format": "uri",
              "description": "Globally unique identifier of this conformity scheme. Typically represented as a URI SchemeOwner/SchemeName URI"
            },
            "name": {
              "example": "Labour rights assessment program",
              "type": "string",
              "description": "Name of this scheme as defined by the scheme owner."
            }
          },
          "required": [
            "id",
            "name"
          ],
          "description": "The conformity scheme under which this versioned profile is maintained."
        }
      },
      "description": "A versioned conformity profile, managed under a scheme, which includes a specific list of versioned criteria. A conformity profile represents the precise scope of a conformity attestation. ",
      "required": [
        "id",
        "name",
        "version",
        "validFrom",
        "status",
        "optionalCriteria",
        "criterion",
        "scheme"
      ]
    },
    "StandardAlignment": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "standard": {
          "type": "object",
          "properties": {
            "id": {
              "example": "https://sample-standards.org/A1234",
              "type": "string",
              "format": "uri",
              "description": "Globally unique identifier of this standard. Typically represented as a URI issuer/standard URI"
            },
            "name": {
              "example": "Labour rights standard",
              "type": "string",
              "description": "Name for this standard"
            }
          },
          "required": [
            "id",
            "name"
          ],
          "description": "The standard against which this alignment assessment is made."
        },
        "alignmentLevel": {
          "type": "string",
          "enum": [
            "meets",
            "exceeds",
            "partial"
          ],
          "example": "meets",
          "description": "A level of alignment with the referenced standard (exceeds, meets, partial,..)"
        }
      },
      "description": "A voluntary standard and an alignment level (exceeds, meets, partial).",
      "required": [
        "standard"
      ]
    },
    "RegulatoryAlignment": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "regulation": {
          "type": "object",
          "properties": {
            "id": {
              "example": "https://regulations.country.gov/ABC-12345",
              "type": "string",
              "format": "uri",
              "description": "Globally unique identifier of this standard. Typically represented as a URI government/regulation URI"
            },
            "name": {
              "example": "Due Diligence Directove",
              "type": "string",
              "description": "Name of this regulation as defined by the regulator."
            }
          },
          "required": [
            "id",
            "name"
          ],
          "description": "The regulation against which this alignment assessment is made."
        },
        "alignmentLevel": {
          "type": "string",
          "enum": [
            "meets",
            "exceeds",
            "partial"
          ],
          "example": "meets",
          "description": "A level of alignment with the referenced standard (exceeds, meets, partial,..)"
        }
      },
      "description": "A national regulation or international treaty and an alignment level (exceeds, meets, partial).",
      "required": [
        "regulation"
      ]
    },
    "Criterion": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "type": {
          "type": "array",
          "readOnly": true,
          "default": [
            "Criterion"
          ],
          "items": {
            "type": "string"
          },
          "allOf": [
            {
              "contains": {
                "const": "Criterion",
                "minContains": 1
              }
            }
          ]
        },
        "id": {
          "example": "https://vocabulary.sample-scheme.org/criterion/lb/v1.0",
          "type": "string",
          "format": "uri",
          "description": "Globally unique identifier of this conformity criterion. Typically represented as a URI SchemeOwner/CriterionID URI"
        },
        "name": {
          "example": "Forced labour assessment criterion",
          "type": "string",
          "description": "Name of this criterion as defined by the scheme owner."
        },
        "description": {
          "type": "string",
          "description": "Description of this criterion"
        },
        "version": {
          "type": "string",
          "description": "The major.minor version of the criterion. Minor versions represent changes that would not invalidate an assessment made under a previous version."
        },
        "status": {
          "type": "string",
          "enum": [
            "proposed",
            "active",
            "deprecated"
          ],
          "example": "proposed",
          "description": "The lifecycle status of this criterion. "
        },
        "documentation": {
          "type": "string",
          "format": "uri",
          "description": "A web page carrying detailed information about this criterion."
        },
        "conformityTopic": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ConformityTopic"
          },
          "description": "A list of global UN/CEFACT standard conformity topic code. "
        },
        "tag": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A set of tags that can be used by the scheme owner to be able to filter or group criterion in a large vocabulary for specific use cases."
        },
        "requiredPerformance": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Performance"
          },
          "description": "The required performance level as one or more score and/or a metric that represents compliance defined by the criteria"
        }
      },
      "description": "A specific rule or criterion within a standard or regulation. eg a carbon intensity calculation rule within an emissions standard.",
      "required": [
        "id",
        "name",
        "version",
        "status",
        "conformityTopic",
        "requiredPerformance"
      ]
    },
    "ConformityTopic": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "type": {
          "type": "array",
          "readOnly": true,
          "default": [
            "ConformityTopic"
          ],
          "items": {
            "type": "string"
          },
          "allOf": [
            {
              "contains": {
                "const": "ConformityTopic",
                "minContains": 1
              }
            }
          ]
        },
        "id": {
          "type": "string",
          "format": "uri",
          "description": "The unique identifier for this conformity topic"
        },
        "name": {
          "example": "forced-labour",
          "type": "string",
          "description": "The human readable name for this conformity topic."
        },
        "definition": {
          "type": "string",
          "description": "The rich definition of this conformity topic."
        }
      },
      "description": "The UNTP standard classification scheme for conformity topic.  see http://vocabulary.uncefact.org/ConformityTopic",
      "required": [
        "id",
        "name"
      ]
    },
    "Performance": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "metric": {
          "type": "object",
          "properties": {
            "id": {
              "example": "https://authority.gov/schemeABC/123456789",
              "type": "string",
              "format": "uri",
              "description": "Globally unique identifier of this reporting metric. "
            },
            "name": {
              "example": "emissions intensity",
              "type": "string",
              "description": "A human readable name for this metric (for example \"water usage per Kg of material\")"
            }
          },
          "required": [
            "id",
            "name"
          ],
          "description": "The metric (eg material emissions intensity CO2e/Kg or percentage of young workers) that is measured."
        },
        "measure": {
          "$ref": "#/$defs/Measure",
          "description": "The measured performance value"
        },
        "score": {
          "$ref": "#/$defs/Score",
          "description": "A performance score (eg \"AA\") drawn from a scoring framework defined by the scheme or criterion."
        }
      },
      "description": "A claimed, assessed, or required performance level defined either by a scoring system or a numeric measure.",
      "required": [
        "metric"
      ]
    },
    "Measure": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "value": {
          "example": 10,
          "type": "number",
          "description": "The numeric value of the measure"
        },
        "upperTolerance": {
          "type": "number",
          "description": "The upper tolerance associated with this measure expressed in the same units as the measure.  For example value=10, upperTolerance=0.1, unit=KGM would mean that this measure is 10kg + 0.1kg"
        },
        "lowerTolerance": {
          "type": "number",
          "description": "The lower tolerance associated with this measure expressed in the same units as the measure.  For example value=10, lowerTolerance=0.1, unit=KGM would mean that this measure is 10kg - 0.1kg"
        },
        "unit": {
          "type": "string",
          "x-external-enumeration": "https://vocabulary.uncefact.org/UnitMeasureCode#",
          "description": "Unit of measure drawn from the UNECE Rec20 measure code list.\n\n    This is an enumerated value, but the list of valid values are too big, or change too often to include here. You can access the list of allowable values at this URL:  https://vocabulary.uncefact.org/UnitMeasureCode#\n    "
        }
      },
      "description": "The measure class defines a numeric measured value (eg 10) and a coded unit of measure (eg KG).  There is an optional upper and lower tolerance which can be used to specify uncertainty in the measure.  ",
      "required": [
        "value",
        "unit"
      ]
    },
    "ProcessDeclaration": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "type": {
          "type": "array",
          "readOnly": true,
          "default": [
            "ProcessDeclaration"
          ],
          "items": {
            "type": "string"
          },
          "allOf": [
            {
              "contains": {
                "const": "ProcessDeclaration",
                "minContains": 1
              }
            }
          ]
        },
        "processArea": {
          "type": "string",
          "enum": [
            "scheme-governance",
            "scheme-development",
            "standards-development",
            "personnel-competency",
            "conformity-assessment"
          ],
          "example": "scheme-governance",
          "description": "Which of the five process areas this entry addresses. More than one entry MAY carry the same value."
        },
        "description": {
          "type": "string",
          "example": "The scheme is governed by an independent multi-stakeholder board with published conflict-of-interest and appeals procedures.",
          "description": "How the scheme addresses or requires this process area. For conformity-assessment, the alignment expectations placed on assessment performed under the scheme - not the mechanics of delivery, which belong in scheme rules. Where notApplicable is true, MUST state why the area does not apply."
        },
        "notApplicable": {
          "type": "boolean",
          "default": false,
          "example": false,
          "description": "True where this process area genuinely does not apply to the scheme. Where true, description MUST state why and standardAlignment is not required."
        },
        "standardAlignment": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StandardAlignment"
          },
          "description": "International standards the scheme aligns with for this area, each with an alignmentLevel. REQUIRED unless notApplicable is true."
        },
        "evidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          },
          "description": "Supporting evidence - governance charters, procedure documents, competency records, licensing criteria."
        }
      },
      "required": [
        "processArea",
        "description"
      ],
      "description": "A declaration covering one process area, or one distinct scope within a process area, against applicable international standards."
    },
    "SchemeDeclaration": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "type": {
          "type": "array",
          "readOnly": true,
          "default": [
            "SchemeDeclaration"
          ],
          "items": {
            "type": "string"
          },
          "allOf": [
            {
              "contains": {
                "const": "SchemeDeclaration",
                "minContains": 1
              }
            }
          ]
        },
        "id": {
          "example": "https://sample-scheme.example.com/mas/declaration",
          "type": "string",
          "format": "uri",
          "description": "Globally unique identifier of this declaration."
        },
        "name": {
          "type": "string",
          "example": "Minerals Assurance Scheme - UNTP Scheme Declaration",
          "description": "Name of this declaration."
        },
        "description": {
          "type": "string",
          "description": "Summary of the scope and basis of the declaration."
        },
        "declarationDate": {
          "example": "2026-01-01",
          "type": "string",
          "format": "date",
          "description": "The date the declaration was made."
        },
        "validFrom": {
          "example": "2026-01-01",
          "type": "string",
          "format": "date",
          "description": "Date from which this declaration is valid."
        },
        "validUntil": {
          "example": "2029-01-01",
          "type": "string",
          "format": "date",
          "description": "Date after which the declaration lapses unless renewed."
        },
        "status": {
          "type": "string",
          "enum": [
            "proposed",
            "active",
            "deprecated"
          ],
          "example": "active",
          "description": "The lifecycle status of this declaration. Withdrawal is represented as deprecated."
        },
        "processDeclaration": {
          "type": "array",
          "minItems": 5,
          "items": {
            "$ref": "#/$defs/ProcessDeclaration"
          },
          "description": "At least one entry per process area; more than one is permitted where an area covers distinct scopes."
        },
        "conformsTo": {
          "$ref": "#/$defs/Link",
          "description": "The versioned UNTP scheme declaration requirements this declaration conforms to."
        },
        "contactPoint": {
          "$ref": "#/$defs/ContactPoint",
          "description": "Where concerns about the scheme's adherence to its own declared procedures can be raised."
        },
        "documentation": {
          "example": "https://sample-minerals-initiative.example.com/untp-declaration/",
          "type": "string",
          "format": "uri",
          "description": "Web page carrying the human-readable declaration."
        },
        "declarationEvidence": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          },
          "description": "Supporting evidence for the declaration as a whole - for example a signed PDF, board resolution, or independent review report."
        }
      },
      "required": [
        "id",
        "declarationDate",
        "validFrom",
        "status",
        "processDeclaration",
        "conformsTo"
      ],
      "description": "A first-party statement by a scheme owner describing the governance, development and delivery arrangements of its conformity scheme, made with reference to applicable international standards. The object of a scheme declaration is the conformity scheme itself, not an object of conformity assessment."
    },
    "IdentifierScheme": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "type": {
          "type": "array",
          "readOnly": true,
          "default": [
            "IdentifierScheme"
          ],
          "items": {
            "type": "string"
          },
          "allOf": [
            {
              "contains": {
                "const": "IdentifierScheme",
                "minContains": 1
              }
            }
          ]
        },
        "id": {
          "type": "string",
          "format": "uri",
          "description": "The URI of this identifier scheme"
        },
        "name": {
          "example": "Global Identifier Scheme Name",
          "type": "string",
          "description": "The name of the identifier scheme. "
        }
      },
      "description": "An identifier registration scheme for products, facilities, or organisations. Typically operated by a state, national or global authority.",
      "required": [
        "id",
        "name"
      ]
    }
  }
}
