Skip to content

Commit

Permalink
Building blocks postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-metalinkage committed Jun 17, 2024
1 parent 6b16e7b commit b587e95
Show file tree
Hide file tree
Showing 42 changed files with 3,811 additions and 1,713 deletions.
183 changes: 90 additions & 93 deletions build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.json

Large diffs are not rendered by default.

145 changes: 73 additions & 72 deletions build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml
Original file line number Diff line number Diff line change
@@ -1,62 +1,4 @@
x-defs:
ogc.bbr.examples.feature.externalSchema:
description: Example of a sinmple GeoJSON Feature specialisation
$defs:
MyFeature:
allOf:
- $ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature
- properties:
properties:
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/raw.githubusercontent.com_smart-data-models_dataModel.ACRIS_master_AirportFacility_schema.json
anyOf:
- $ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/ogc.bbr.examples.feature.externalSchema/$defs/MyFeature
x-jsonld-extra-terms:
AirportElevation: https://smartdatamodels.org/dataModel.ACRIS/AirportElevation
AirportElevationUnitOfMeasurement: https://smartdatamodels.org/dataModel.ACRIS/AirportElevationUnitOfMeasurement
AirportFacility: https://smartdatamodels.org/dataModel.ACRIS/AirportFacility
AirportLocation: https://smartdatamodels.org/dataModel.ACRIS/AirportLocation
CheckpointAreaLocation: https://smartdatamodels.org/dataModel.ACRIS/CheckpointAreaLocation
CheckpointFacility: https://smartdatamodels.org/dataModel.ACRIS/CheckpointFacility
CheckpointFacilityOperatorParty: https://smartdatamodels.org/dataModel.ACRIS/CheckpointFacilityOperatorParty
CheckpointFacilityType: https://smartdatamodels.org/dataModel.ACRIS/CheckpointFacilityType
ClosingTime: https://smartdatamodels.org/dataModel.ACRIS/ClosingTime
Code: https://smartdatamodels.org/dataModel.ACRIS/Code
ConcourseFacility: https://smartdatamodels.org/dataModel.ACRIS/ConcourseFacility
Description: https://smartdatamodels.org/dataModel.ACRIS/Description
EndTime: https://smartdatamodels.org/dataModel.ACRIS/EndTime
IataCode: https://smartdatamodels.org/dataModel.ACRIS/IataCode
IcaoCode: https://smartdatamodels.org/dataModel.ACRIS/IcaoCode
Identifier: https://smartdatamodels.org/dataModel.ACRIS/Identifier
Latitude: https://smartdatamodels.org/dataModel.ACRIS/Latitude
Longitude: https://smartdatamodels.org/dataModel.ACRIS/Longitude
MeasurementDevice: https://smartdatamodels.org/dataModel.ACRIS/MeasurementDevice
MeasurementDeviceLocation: https://smartdatamodels.org/dataModel.ACRIS/MeasurementDeviceLocation
MeasurementTimePeriod: https://smartdatamodels.org/dataModel.ACRIS/MeasurementTimePeriod
Name: https://smartdatamodels.org/dataModel.ACRIS/Name
Occupancy: https://smartdatamodels.org/dataModel.ACRIS/Occupancy
OpeningTime: https://smartdatamodels.org/dataModel.ACRIS/OpeningTime
OperationTimePeriod: https://smartdatamodels.org/dataModel.ACRIS/OperationTimePeriod
PassengerProcess: https://smartdatamodels.org/dataModel.ACRIS/PassengerProcess
PassengerProcessType: https://smartdatamodels.org/dataModel.ACRIS/PassengerProcessType
PassengerQueue: https://smartdatamodels.org/dataModel.ACRIS/PassengerQueue
ProjectedWaitTime: https://smartdatamodels.org/dataModel.ACRIS/ProjectedWaitTime
QueueLocation: https://smartdatamodels.org/dataModel.ACRIS/QueueLocation
QueueMeasurement: https://smartdatamodels.org/dataModel.ACRIS/QueueMeasurement
QueueStatus: https://smartdatamodels.org/dataModel.ACRIS/QueueStatus
QueueType: https://smartdatamodels.org/dataModel.ACRIS/QueueType
Srid: https://smartdatamodels.org/dataModel.ACRIS/Srid
TerminalAreaLocation: https://smartdatamodels.org/dataModel.ACRIS/TerminalAreaLocation
TerminalFacility: https://smartdatamodels.org/dataModel.ACRIS/TerminalFacility
Throughput: https://smartdatamodels.org/dataModel.ACRIS/Throughput
Value: https://smartdatamodels.org/dataModel.ACRIS/Value
WaitTime: https://smartdatamodels.org/dataModel.ACRIS/WaitTime
ZoneAreaLocation: https://smartdatamodels.org/dataModel.ACRIS/ZoneAreaLocation
id: '@id'
type: '@type'
x-jsonld-prefixes:
ngsi-ld: https://uri.etsi.org/ngsi-ld/
x-schema-version: https://json-schema.org/draft/2020-12/schema
x-schema-source: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml
ogc.geo.features.feature:
allOf:
- $ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/ogc.geo.common.data_types.geojson
Expand All @@ -70,7 +12,8 @@ x-defs:
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/ogc.ogc-utils.json-link
x-jsonld-id: http://www.w3.org/2000/01/rdf-schema#seeAlso
type:
const: Feature
enum:
- Feature
required:
- type
- geometry
Expand All @@ -80,7 +23,7 @@ x-defs:
x-jsonld-prefixes:
rdfs: http://www.w3.org/2000/01/rdf-schema#
x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.yaml
raw.githubusercontent.com_smart-data-models_dataModel.ACRIS_master_AirportFacility_schema.json:
smart-data-models_dataModel.ACRIS_master_AirportFacility_schema:
$schemaVersion: 0.0.1
title: Smart Data Models - Mapping of ACRIS data model AirportFacility
description: Property. Information about an Airport as buildings or infrastructure
Expand All @@ -92,7 +35,7 @@ x-defs:
allOf:
- properties:
id:
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/smart-data-models.github.io_data-models_common-schema.json/definitions/EntityIdentifierType
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/common-schema/definitions/EntityIdentifierType
type:
type: string
enum:
Expand All @@ -110,8 +53,9 @@ x-defs:
required:
- id
- type
x-schema-source: https://raw.githubusercontent.com/smart-data-models/dataModel.ACRIS/master/AirportFacility/schema.json
x-schema-id: https://smart-data-models.github.io/dataModel.ACRIS/AirportFacility/schema.json
x-schema-version: http://json-schema.org/schema#
x-schema-source: https://smart-data-models.github.io/dataModel.ACRIS/AirportFacility/schema.json
ogc.geo.common.data_types.geojson:
title: GeoJSON Feature
type: object
Expand Down Expand Up @@ -527,8 +471,9 @@ x-defs:
x-jsonld-id: https://purl.org/geojson/vocab#features
x-jsonld-prefixes:
geojson: https://purl.org/geojson/vocab#
x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/geo/common/data_types/geojson/schema.yaml
x-schema-id: https://geojson.org/schema/Feature.json
x-schema-version: http://json-schema.org/draft-07/schema#
x-schema-source: https://geojson.org/schema/Feature.json
ogc.geo.common.data_types.bounding_box:
type: array
oneOf:
Expand Down Expand Up @@ -574,9 +519,9 @@ x-defs:
oa: http://www.w3.org/ns/oa#
rdfs: http://www.w3.org/2000/01/rdf-schema#
dct: http://purl.org/dc/terms/
x-schema-version: https://json-schema.org/draft/2020-12/schema
x-schema-source: https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/json-link/schema.yaml
smart-data-models.github.io_data-models_common-schema.json:
x-schema-version: https://json-schema.org/draft/2020-12/schema
common-schema:
title: Common definitions for Harmonized Data Models
definitions:
EntityIdentifierType:
Expand Down Expand Up @@ -620,7 +565,7 @@ x-defs:
type: object
properties:
id:
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/smart-data-models.github.io_data-models_common-schema.json/definitions/EntityIdentifierType
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/common-schema/definitions/EntityIdentifierType
dateCreated:
type: string
format: date-time
Expand Down Expand Up @@ -654,7 +599,7 @@ x-defs:
description: Property. A List containing a JSON encoded sequence of characters
referencing the unique Ids of the owner(s)
items:
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/smart-data-models.github.io_data-models_common-schema.json/definitions/EntityIdentifierType
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/common-schema/definitions/EntityIdentifierType
seeAlso:
oneOf:
- type: array
Expand Down Expand Up @@ -989,7 +934,7 @@ x-defs:
type: string
description: Property. Contact type of this item
email:
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/smart-data-models.github.io_data-models_common-schema.json/definitions/email
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/common-schema/definitions/email
telephone:
type: string
description: Property. Telephone of this contact
Expand Down Expand Up @@ -1028,6 +973,7 @@ x-defs:
faxNumber:
type: string
description: Property. Model:'http://schema.org/Text'. The fax number
of the item
productSupported:
type: string
description: Property. Model:'http://schema.org/Text'. The product
Expand Down Expand Up @@ -1079,7 +1025,7 @@ x-defs:
description: Property. Model:'https://schema.org/Text'. The telephone
number
email:
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/smart-data-models.github.io_data-models_common-schema.json/definitions/email
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/common-schema/definitions/email
Extensible-Commons:
description: Property. All properties to allow interoperability with TMForum
Open-APIs
Expand Down Expand Up @@ -1464,7 +1410,62 @@ x-defs:
format: uri
description: Property. Model:'https://schema.org/URL'. Url with video related
to the item
x-schema-version: http://json-schema.org/schema#
x-schema-source: https://smart-data-models.github.io/data-models/common-schema.json
allOf:
- $ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/ogc.bbr.examples.feature.externalSchema
x-schema-id: https://smart-data-models.github.io/data-models/common-schema.json
x-schema-version: http://json-schema.org/schema#
description: Example of a sinmple GeoJSON Feature specialisation
$defs:
MyFeature:
allOf:
- $ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/ogc.geo.features.feature
- properties:
properties:
$ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/x-defs/smart-data-models_dataModel.ACRIS_master_AirportFacility_schema
anyOf:
- $ref: https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/externalSchema/schema-oas3.0.yaml#/$defs/MyFeature
x-jsonld-extra-terms:
AirportElevation: https://smartdatamodels.org/dataModel.ACRIS/AirportElevation
AirportElevationUnitOfMeasurement: https://smartdatamodels.org/dataModel.ACRIS/AirportElevationUnitOfMeasurement
AirportFacility: https://smartdatamodels.org/dataModel.ACRIS/AirportFacility
AirportLocation: https://smartdatamodels.org/dataModel.ACRIS/AirportLocation
CheckpointAreaLocation: https://smartdatamodels.org/dataModel.ACRIS/CheckpointAreaLocation
CheckpointFacility: https://smartdatamodels.org/dataModel.ACRIS/CheckpointFacility
CheckpointFacilityOperatorParty: https://smartdatamodels.org/dataModel.ACRIS/CheckpointFacilityOperatorParty
CheckpointFacilityType: https://smartdatamodels.org/dataModel.ACRIS/CheckpointFacilityType
ClosingTime: https://smartdatamodels.org/dataModel.ACRIS/ClosingTime
Code: https://smartdatamodels.org/dataModel.ACRIS/Code
ConcourseFacility: https://smartdatamodels.org/dataModel.ACRIS/ConcourseFacility
Description: https://smartdatamodels.org/dataModel.ACRIS/Description
EndTime: https://smartdatamodels.org/dataModel.ACRIS/EndTime
IataCode: https://smartdatamodels.org/dataModel.ACRIS/IataCode
IcaoCode: https://smartdatamodels.org/dataModel.ACRIS/IcaoCode
Identifier: https://smartdatamodels.org/dataModel.ACRIS/Identifier
Latitude: https://smartdatamodels.org/dataModel.ACRIS/Latitude
Longitude: https://smartdatamodels.org/dataModel.ACRIS/Longitude
MeasurementDevice: https://smartdatamodels.org/dataModel.ACRIS/MeasurementDevice
MeasurementDeviceLocation: https://smartdatamodels.org/dataModel.ACRIS/MeasurementDeviceLocation
MeasurementTimePeriod: https://smartdatamodels.org/dataModel.ACRIS/MeasurementTimePeriod
Name: https://smartdatamodels.org/dataModel.ACRIS/Name
Occupancy: https://smartdatamodels.org/dataModel.ACRIS/Occupancy
OpeningTime: https://smartdatamodels.org/dataModel.ACRIS/OpeningTime
OperationTimePeriod: https://smartdatamodels.org/dataModel.ACRIS/OperationTimePeriod
PassengerProcess: https://smartdatamodels.org/dataModel.ACRIS/PassengerProcess
PassengerProcessType: https://smartdatamodels.org/dataModel.ACRIS/PassengerProcessType
PassengerQueue: https://smartdatamodels.org/dataModel.ACRIS/PassengerQueue
ProjectedWaitTime: https://smartdatamodels.org/dataModel.ACRIS/ProjectedWaitTime
QueueLocation: https://smartdatamodels.org/dataModel.ACRIS/QueueLocation
QueueMeasurement: https://smartdatamodels.org/dataModel.ACRIS/QueueMeasurement
QueueStatus: https://smartdatamodels.org/dataModel.ACRIS/QueueStatus
QueueType: https://smartdatamodels.org/dataModel.ACRIS/QueueType
Srid: https://smartdatamodels.org/dataModel.ACRIS/Srid
TerminalAreaLocation: https://smartdatamodels.org/dataModel.ACRIS/TerminalAreaLocation
TerminalFacility: https://smartdatamodels.org/dataModel.ACRIS/TerminalFacility
Throughput: https://smartdatamodels.org/dataModel.ACRIS/Throughput
Value: https://smartdatamodels.org/dataModel.ACRIS/Value
WaitTime: https://smartdatamodels.org/dataModel.ACRIS/WaitTime
ZoneAreaLocation: https://smartdatamodels.org/dataModel.ACRIS/ZoneAreaLocation
id: '@id'
type: '@type'
x-jsonld-prefixes:
ngsi-ld: https://uri.etsi.org/ngsi-ld/
x-schema-version: https://json-schema.org/draft/2020-12/schema
Original file line number Diff line number Diff line change
@@ -1,31 +1,5 @@
{
"x-defs": {
"ogc.bbr.examples.feature.geojsonFeature": {
"description": "Example of a sinmple GeoJSON Feature specialisation",
"$defs": {
"MyFeature": {
"allOf": [
{
"$ref": "https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/geojsonFeature/schema-oas3.0.json#/x-defs/ogc.geo.features.feature"
},
{
"properties": {
"properties": {
"$ref": "https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/geojsonFeature/schema-oas3.0.json#/x-defs/ogcincubator.github.io_bblocks-examples_build_annotated_bbr_examples_feature_propertySet_schema.json"
}
}
}
]
}
},
"anyOf": [
{
"$ref": "https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/geojsonFeature/schema-oas3.0.json#/x-defs/ogc.bbr.examples.feature.geojsonFeature/$defs/MyFeature"
}
],
"x-schema-version": "https://json-schema.org/draft/2020-12/schema",
"x-schema-source": "https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/geojsonFeature/schema-oas3.0.json"
},
"ogc.geo.features.feature": {
"allOf": [
{
Expand All @@ -45,7 +19,9 @@
"x-jsonld-id": "http://www.w3.org/2000/01/rdf-schema#seeAlso"
},
"type": {
"const": "Feature"
"enum": [
"Feature"
]
}
},
"required": [
Expand All @@ -63,7 +39,7 @@
},
"x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/features/feature/schema.json"
},
"ogcincubator.github.io_bblocks-examples_build_annotated_bbr_examples_feature_propertySet_schema.json": {
"ogc.bbr.examples.feature.propertySet": {
"description": "Example SOSA Vector Observation",
"allOf": [
{
Expand All @@ -79,8 +55,8 @@
]
}
],
"x-schema-version": "https://json-schema.org/draft/2020-12/schema",
"x-schema-source": "https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/propertySet/schema.json"
"x-schema-source": "https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/propertySet/schema.json",
"x-schema-version": "https://json-schema.org/draft/2020-12/schema"
},
"ogc.geo.common.data_types.geojson": {
"title": "GeoJSON Feature",
Expand Down Expand Up @@ -667,8 +643,9 @@
"x-jsonld-prefixes": {
"geojson": "https://purl.org/geojson/vocab#"
},
"x-schema-version": "http://json-schema.org/draft-07/schema#",
"x-schema-source": "https://geojson.org/schema/Feature.json"
"x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/common/data_types/geojson/schema.json",
"x-schema-id": "https://geojson.org/schema/Feature.json",
"x-schema-version": "http://json-schema.org/draft-07/schema#"
},
"ogc.geo.common.data_types.bounding_box": {
"type": "array",
Expand Down Expand Up @@ -732,13 +709,31 @@
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"dct": "http://purl.org/dc/terms/"
},
"x-schema-version": "https://json-schema.org/draft/2020-12/schema",
"x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/json-link/schema.json"
"x-schema-source": "https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/json-link/schema.json",
"x-schema-version": "https://json-schema.org/draft/2020-12/schema"
}
},
"description": "Example of a sinmple GeoJSON Feature specialisation",
"$defs": {
"MyFeature": {
"allOf": [
{
"$ref": "https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/geojsonFeature/schema-oas3.0.json#/x-defs/ogc.geo.features.feature"
},
{
"properties": {
"properties": {
"$ref": "https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/geojsonFeature/schema-oas3.0.json#/x-defs/ogc.bbr.examples.feature.propertySet"
}
}
}
]
}
},
"allOf": [
"anyOf": [
{
"$ref": "https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/geojsonFeature/schema-oas3.0.json#/x-defs/ogc.bbr.examples.feature.geojsonFeature"
"$ref": "https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/geojsonFeature/schema-oas3.0.json#/$defs/MyFeature"
}
]
],
"x-schema-version": "https://json-schema.org/draft/2020-12/schema"
}
Loading

0 comments on commit b587e95

Please sign in to comment.