Skip to content

Commit

Permalink
Rename schema field profile to uri
Browse files Browse the repository at this point in the history
Close #56
  • Loading branch information
nichtich committed Jun 6, 2024
1 parent 4696155 commit 94951ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ properties:
type: string
url:
$ref: '#/definitions/url'
uri:
type: string
format: uri
profile:
type: string
format: uri
$comment: deprecated
family:
$ref: '#/definitions/non-empty-string'
$schema:
Expand Down
7 changes: 4 additions & 3 deletions specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ A schema SHOULD contain keys documenting the format defined by the schema:

* `title` with the name of the format
* `description` with a short description of the format
* `url` with a homepage URL of the format
* `family` with a [format family]
* `profile` with an URI of the format
* `url` with a homepage URL of the format
* `uri` with an URI to uniquely identify the format
* `language` with the language values of keys `title`, `description`, and `label` used throughout the schema. Its value SHOULD be assumed as `und` if not specified.

The schema MAY contain keys:
Expand All @@ -230,7 +230,7 @@ The schema MAY contain keys:
"title": "MARC 21 Format for Classification Data",
"description": "MARC format for classification numbers and captions associated with them",
"url": "https://www.loc.gov/marc/classification/",
"profile": "http://format.gbv.de/marc/classification",
"uri": "http://format.gbv.de/marc/classification",
"language": "en",
"$schema": "https://format.gbv.de/schema/avram/schema.json"
}
Expand Down Expand Up @@ -882,6 +882,7 @@ for comments, code and contributions.

- Add code key `url`
- Add field and subfield key `comment`
- Rename schema field `profile` to `uri`

#### 0.9.6 - 2024-01-19

Expand Down

0 comments on commit 94951ee

Please sign in to comment.