-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/schema: Restructure package reference
- Loading branch information
1 parent
63227a6
commit 910ec05
Showing
13 changed files
with
102 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Packaging | ||
|
||
In this section you will find the schema for [release packages](release_package.md) and [record packages](record_package.md), which act as envelopes for releases and records, respectively. | ||
|
||
```{toctree} | ||
:hidden: | ||
release_package | ||
record_package | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Record Package Schema | ||
|
||
The record package schema describes the structure of the container for publishing records. The package contains important metadata. | ||
|
||
````{admonition} Example | ||
:class: hint | ||
```{jsoninclude} ../../examples/merging/updates/versioned.json | ||
:jsonpointer: | ||
:title: Record package | ||
``` | ||
```` | ||
|
||
For this version of OCDS, the canonical URL for the record package schema is <https://standard.open-contracting.org/schema/1__1__5/record-package-schema.json> and for the versioned release schema is <https://standard.open-contracting.org/schema/1__1__5/versioned-release-validation-schema.json>. Using the canonical URL guarantees that your software, documentation or other resources will always refer to the specific version of the schema with which they were authored and tested. | ||
|
||
In addition to publishing the structured metadata described by the record package schema, you ought to license your data and provide guidance for data users. For more information, see the [licensing guidance](../../guidance/publish.md#license-your-data) and [publication policy guidance](../../guidance/publish.md#finalize-your-publication-policy). | ||
|
||
```{admonition} Browsing the schema | ||
:class: note | ||
This page presents the record package schema in an interactive browser and in a table, with additional information in paragraphs. You can also download the canonical version of the record package schema as [JSON Schema](../../../build/current_lang/record-package-schema.json). | ||
``` | ||
|
||
## Schema browser | ||
|
||
Click on schema elements to expand the tree, or use the '+' icon to expand all elements. Use { } to view the underlying schema for any section. Required fields are indicated in **bold**. [Deprecated fields](../../governance/deprecation) and [multilingual fields](../reference.md#language) are omitted. | ||
|
||
<script src="../../../_static/docson/public/js/widget.js" data-schema="../../../../record-package-schema.json"></script> | ||
|
||
## Reference table | ||
|
||
```{jsonschema} ../../../build/current_lang/record-package-schema.json | ||
:collapse: records | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Release Package Reference | ||
|
||
The release package schema describes the structure of the container for publishing releases. The package contains important metadata. | ||
|
||
````{admonition} Example | ||
:class: hint | ||
```{jsoninclude} ../../examples/release_schema_reference/release_package.json | ||
:jsonpointer: | ||
:title: Release package | ||
``` | ||
```` | ||
|
||
For this version of OCDS, the canonical URL of the release package schema is: <https://standard.open-contracting.org/schema/1__1__5/release-package-schema.json>. Using the canonical URL guarantees that your software, documentation or other resources will always refer to the specific version of the schema with which they were authored and tested. | ||
|
||
In addition to publishing the structured metadata described by the release package schema, you ought to license your data and provide guidance for data users. For more information, see the [licensing guidance](../../guidance/publish.md#license-your-data) and [publication policy guidance](../../guidance/publish.md#finalize-your-publication-policy). | ||
|
||
```{admonition} Browsing the schema | ||
:class: note | ||
This page presents the release package schema in an interactive browser and in a table, with additional information in paragraphs. You can also download the canonical version of the release package schema as [JSON Schema](../../../build/current_lang/release-package-schema.json). | ||
``` | ||
|
||
## Schema browser | ||
|
||
Click on schema elements to expand the tree, or use the '+' icon to expand all elements. Use { } to view the underlying schema for any section. Required fields are indicated in **bold**. [Deprecated fields](../../governance/deprecation) and [multilingual fields](../reference.md#language) are omitted. | ||
|
||
<script src="../../../_static/docson/public/js/widget.js" data-schema="../../../../release-package-schema.json"></script> | ||
|
||
## Reference table | ||
|
||
```{jsonschema} ../../../build/current_lang/release-package-schema.json | ||
:collapse: releases | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.