Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Updated urls
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Feb 23, 2024
1 parent 13228d3 commit 1149338
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/docs/specifications/data-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ In addition to the required properties, the following properties `SHOULD` be inc

##### `$schema`

A Data Package descriptor `SHOULD` have the `$schema` property that `MUST` be an URL with default value `https://datapackage.org/schemas/datapackage-1.0.json`.
A Data Package descriptor `SHOULD` have the `$schema` property that `MUST` be an URL with default value `https://datapackage.org/profiles/datapackage-1.0.json`.

The `$schema` property is both used as a Data Package version identifier and the location of a JSON Schema file against which this Data Package `MUST` be valid.
The `$schema` property is both used as a Data Package version identifier and the location of a [JSON Schema file](../glossary/#metadata-profile) against which this Data Package `MUST` be valid.

The `$schema` property `MUST`:

- be exactly `https://datapackage.json/schemas/datapackage-X.Y.json` where `X` and `Y` are major and minor Data Package Standard versions OR
- be exactly `https://datapackage.json/profiles/datapackage-X.Y.json` where `X` and `Y` are major and minor Data Package Standard versions OR
- ends with `/EXTENSION-datapackage-X.Y.json` where `EXTENSION` is a name of an extension limited to the `[a-z0-9]` characters subset, and `X` and `Y` are major and minor extension versions.

For example, a descriptor for a data package extension might have the property `$schema` set to `https://raw.githubusercontent.com/organization/project/main/automotive-datapackage-2.3.json`.
Expand Down

0 comments on commit 1149338

Please sign in to comment.