Skip to content

Commit

Permalink
Add Concept field deprecated
Browse files Browse the repository at this point in the history
Close #124.
  • Loading branch information
nichtich committed Sep 27, 2024
1 parent b3443cf commit c02a9a4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions context.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@
"@id": "http://purl.org/dc/terms/license",
"@container": "@set"
},
"deprecated": "http://www.w3.org/2002/07/owl#deprecated",
"namespace": "http://rdfs.org/ns/void#uriSpace",
"uriPattern": "http://rdfs.org/ns/void#voidRegexPattern",
"fromScheme": "http://rdfs.org/ns/void#subjectsTarget",
Expand Down
2 changes: 2 additions & 0 deletions jskos.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ inScheme [set] of [concept schemes] concept schemes the concept belongs to
topConceptOf [set] of [concept schemes] concept schemes the concept is a top concept of
mappings [set] of [mappings] mappings from and/or to this concept
occurrences [set] of [occurrences] occurrences with this concept
deprecated [boolean] mark a concept as deprecated (false by default)

The first element of field `type`, if given, MUST be the [item type] URI
<http://www.w3.org/2004/02/skos/core#Concept>.
Expand Down Expand Up @@ -1157,6 +1158,7 @@ Public services to validate JSKOS data are included in instances of
### Next {.unnumbered}

- Change JSON-LD context for spatial fields (`location`, `place`, `startPlace`, `endPlace`)
- Add Concept field `deprecated`

### 0.5.3 (2024-09-18) {.unnumbered}

Expand Down
4 changes: 4 additions & 0 deletions schemas/concept.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@
"occurrences": {
"description": "occurrences with this concept",
"$ref": "occurrence.schema.json#/definitions/occurrenceSet"
},
"deprecated": {
"description": "whether the concept has been marked as deprecated",
"type": "boolean"
}
}
}

0 comments on commit c02a9a4

Please sign in to comment.