Skip to content

Commit

Permalink
conformanceClasses metadata and uplift
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Feb 28, 2024
1 parent 511c713 commit 3ab474f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ogc/bblocks/metadata-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,10 @@ properties:
Whether this Building Block should be "highlighted" or "featured" within the register, potentially
used as an entry point for the collection
type: boolean
conformanceClasses:
description: |
List of conformance classes (URIs) that this building block refers to.
type: array
items:
type: string
pattern: '^https?://.*'
7 changes: 6 additions & 1 deletion ogc/bblocks/register-context.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ transform:
"hasConcepts": .
} else . + {
"@type": ["skos:ConceptScheme", "dcat:Catalog"],
"skos:prefLabel": .name,
"name": "Building Blocks - \(.name)",
"skos:prefLabel": "Building Blocks - \(.name)",
"hasConcepts": .bblocks
} | del(.bblocks) end
- '{ "@context": { "@base": ($baseUrl // "https://www.opengis.net/def/bblocks/") } } + .'
Expand All @@ -25,6 +26,7 @@ context:
xsd: http://www.w3.org/2001/XMLSchema#
prof: http://www.w3.org/ns/dx/prof/
dcat: http://www.w3.org/ns/dcat#
modspec: http://www.opengis.net/def/ont/modspec/

itemIdentifier: '@id'
baseURL: '@id'
Expand Down Expand Up @@ -97,3 +99,6 @@ context:
imports:
'@id': bblocks:imports
'@type': '@id'
conformanceClasses:
'@id': modspec:class
'@type': '@id'

0 comments on commit 3ab474f

Please sign in to comment.