Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove package schemas #49

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ The structure of an extension repository should look like:
├── README.md (a full description of the extension in markdown - required)
├── extension.json (a json file giving metadata about the extension - required)
├── release-schema.json (JSON Merge Patch of release-schema.json)
├── record-package-schema.json (JSON Merge Patch of record-package-schema.json)
├── release-package-schema.json (JSON Merge Patch of release-package-schema.json)
└── codelists
├── emptyCodelist.csv (A new codelist)
|__ +milestoneType.csv (Add values to the milestoneType codelist)
Expand All @@ -51,10 +49,8 @@ This copies the layout of the core [standards repository](https://github.com/ope
The extension template includes the following schema files:

* release-schema.json
* release-package-schema.json
* record-package-schema.json

In most cases, the extension will have a _release-schema.json_ with the minimal changes required to patch the schema, although there may be more marginal user cases requiring metadata patches for _release-package-schema.json_ and/or _record-package-schema.json_. Empty schema files should not be included in the extension.
In most cases, the extension will have a _release-schema.json_ with the minimal changes required to patch the schema. Empty schema files should not be included in the extension.

### extension.json

Expand Down Expand Up @@ -120,8 +116,6 @@ Prefixing a codelist name with _+_ (e.g. _+milestoneStatus.csv_) indicates that
As of OCDS 1.1, the schema files from the core standard that extensions can extend are:

* release-schema.json
* record-package-schema.json
* release-package-schema.json

In the extension some or all of these files can be used to do a JSON Merge Patch of the corresponding file.

Expand Down
2 changes: 0 additions & 2 deletions extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
"en": "http://httpbin.org/anything/path/to/documentation/in/specified/language"
},
"schemas": [
"record-package-schema.json",
"release-package-schema.json",
"release-schema.json"
],
"codelists": [
Expand Down
1 change: 0 additions & 1 deletion record-package-schema.json

This file was deleted.

1 change: 0 additions & 1 deletion release-package-schema.json

This file was deleted.