Skip to content

Commit

Permalink
Update docs/schema/conformance_and_extensions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Duncan Dewhurst <[email protected]>
  • Loading branch information
odscjen and duncandewhurst authored Nov 21, 2024
1 parent 59ee5c8 commit 0dc39da
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/schema/conformance_and_extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ Extensions to the standard may add new objects and fields to accommodate specifi

The schema for the standard by default allows for new fields, and does not fail validation of a file which contains unknown fields.

### Extension conformance guidelines
### Extension conformance

This section documents the normative rules that OCDS extensions must conform to. It uses the following terms from JSON Schema to describe the rules for extension schemas:

* [property](https://json-schema.org/understanding-json-schema/reference/object#properties): A key-value pair belonging to an object, defined using the `properties` keyword in the schema or subschema for the object, e.g. `ocid` is a property of an OCDS release and it is defined under the top-level `properties` keyword in the OCDS release schema.
* [definition](https://json-schema.org/understanding-json-schema/structuring#defs): A subschema defined using the top-level `definitions` keyword, e.g. the `Award` definition contains the subschema for an OCDS award and it is defined under the `definitions` keyword in the OCDS release schema.
* [keyword](https://json-schema.org/understanding-json-schema/keywords): A key within a JSON Schema used to define the structure of JSON data , e.g. the `type` keyword specifies the data type for a property.




#### Changes to existing fields

Expand Down

0 comments on commit 0dc39da

Please sign in to comment.