Skip to content

Commit

Permalink
Building blocks postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Apr 23, 2024
1 parent 046768f commit 82bacf7
Show file tree
Hide file tree
Showing 39 changed files with 6,030 additions and 6,812 deletions.
1,640 changes: 819 additions & 821 deletions build/annotated/contrib/stac/collection/schema-oas3.0.json

Large diffs are not rendered by default.

806 changes: 401 additions & 405 deletions build/annotated/contrib/stac/collection/schema-oas3.0.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/annotated/contrib/stac/collection/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"$ref": "https://github.com/radiantearth/stac-spec/raw/master/collection-spec/json-schema/collection.json"
},
{
"$ref": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/schema.json"
"$ref": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.json"
},
{
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion build/annotated/contrib/stac/collection/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $schema: https://json-schema.org/draft/2020-12/schema
description: STAC Collection
allOf:
- $ref: https://github.com/radiantearth/stac-spec/raw/master/collection-spec/json-schema/collection.json
- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/schema.yaml
- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml
- type: object
properties:
links:
Expand Down
1,642 changes: 820 additions & 822 deletions build/annotated/contrib/stac/extensions/eo/schema-oas3.0.json

Large diffs are not rendered by default.

808 changes: 402 additions & 406 deletions build/annotated/contrib/stac/extensions/eo/schema-oas3.0.yaml

Large diffs are not rendered by default.

1,642 changes: 820 additions & 822 deletions build/annotated/contrib/stac/extensions/raster/schema-oas3.0.json

Large diffs are not rendered by default.

808 changes: 402 additions & 406 deletions build/annotated/contrib/stac/extensions/raster/schema-oas3.0.yaml

Large diffs are not rendered by default.

1,370 changes: 684 additions & 686 deletions build/annotated/contrib/stac/item/schema-oas3.0.json

Large diffs are not rendered by default.

1,942 changes: 969 additions & 973 deletions build/annotated/contrib/stac/item/schema-oas3.0.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/annotated/contrib/stac/item/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "STAC Collection",
"allOf": [
{
"$ref": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/schema.json"
"$ref": "https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.json"
},
{
"$ref": "https://github.com/radiantearth/stac-spec/raw/master/item-spec/json-schema/item.json"
Expand Down
2 changes: 1 addition & 1 deletion build/annotated/contrib/stac/item/schema.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
description: STAC Collection
allOf:
- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/schema.yaml
- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml
- $ref: https://github.com/radiantearth/stac-spec/raw/master/item-spec/json-schema/item.json
28 changes: 14 additions & 14 deletions build/bblocks.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@
"name": "Building Blocks - OGC Building Blocks for STAC",
"abstract": "These Building Blocks provide a validation and documentation wrapper over STAC and extension schemas, and aid in transparent re-use of STAC elements",
"description": "Allows for validation and testing of STAC examples.\n\nSupports definition and testing of transformations to/from STAC from other formats.\n\nImplementers can fork this repository and add additional examples in the `tests/` directory of each Building Block and run validation processes locally.\n\nProvides a framework for documentation and testing of additional extensions.\n",
"modified": "2024-03-25T06:49:43.720986",
"modified": "2024-04-23T07:52:41.865449",
"tooling": {
"bblocks-postprocess": {
"commitId": "\"c150183b2ddb43ea6bcf71feddabe22a4025f524",
"shortCommitId": "\"c15018",
"date": "2024-03-22T10:03:03+00:00\""
"commitId": "\"e4a611ba98dc47cf5ffb659b73d79151289b1133",
"shortCommitId": "\"e4a611",
"date": "2024-04-15T14:36:27+00:00\""
}
},
"gitRepository": "https://github.com/ogcincubator/bblocks-stac",
Expand Down Expand Up @@ -140,7 +140,7 @@
"itemClass": "schema",
"register": "ogc-incubator-building-block-register",
"version": "0.1",
"dateOfLastChange": "2024-03-25",
"dateOfLastChange": "2024-04-23",
"sources": [
{
"title": "STAC Specification",
Expand All @@ -155,14 +155,14 @@
"shaclRules": {},
"dependsOn": [
"ogc.ogc-utils.json-link",
"ogc.api.records.core"
"ogc.api.records.v1.schemas.recordGeoJSON"
],
"schema": {
"application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.yaml",
"application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.json"
},
"ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/context.jsonld",
"sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/collection/schema.yaml",
"ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/context.jsonld",
"sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/collection/",
"validationPassed": false,
"testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/collection/",
Expand Down Expand Up @@ -201,7 +201,7 @@
"itemClass": "schema",
"register": "ogc-building-block-register",
"version": "0.1",
"dateOfLastChange": "2024-03-25",
"dateOfLastChange": "2024-04-23",
"sources": [
{
"title": "STAC Specification",
Expand All @@ -215,14 +215,14 @@
],
"shaclRules": {},
"dependsOn": [
"ogc.api.records.core"
"ogc.api.records.v1.schemas.recordGeoJSON"
],
"schema": {
"application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.yaml",
"application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.json"
},
"ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/context.jsonld",
"sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/item/schema.yaml",
"ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/context.jsonld",
"sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/item/",
"validationPassed": false,
"testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/item/",
Expand Down Expand Up @@ -260,7 +260,7 @@
"itemClass": "schema",
"register": "bblocks-stac",
"version": "0.1",
"dateOfLastChange": "2024-03-25",
"dateOfLastChange": "2024-04-23",
"link": "https://github.com/stac-extensions/eo",
"sources": [
{
Expand All @@ -284,8 +284,8 @@
"application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema.yaml",
"application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/schema.json"
},
"ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/context.jsonld",
"sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/extensions/eo/schema.yaml",
"ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/eo/context.jsonld",
"sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/extensions/eo/",
"validationPassed": false,
"testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/extensions/eo/",
Expand Down Expand Up @@ -323,7 +323,7 @@
"itemClass": "schema",
"register": "ogc-building-block-register",
"version": "0.1",
"dateOfLastChange": "2024-03-25",
"dateOfLastChange": "2024-04-23",
"link": "https://github.com/stac-extensions/raster",
"sources": [
{
Expand All @@ -346,8 +346,8 @@
"application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema.yaml",
"application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/schema.json"
},
"ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/context.jsonld",
"sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/extensions/raster/schema.yaml",
"ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/extensions/raster/context.jsonld",
"sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/extensions/raster/",
"validationPassed": false,
"testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/extensions/raster/",
Expand Down
60 changes: 30 additions & 30 deletions build/bblocks.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ EO data is considered to be data that represents a snapshot of the Earth for a s
dct:created "2023-12-08T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/extensions/eo/" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/extensions/eo/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.extensions.eo" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/eo/index.json" ] ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.extensions.eo" ] ;
dct:hasVersion "0.1" ;
dct:modified "2024-03-25"^^xsd:date ;
dct:modified "2024-04-23"^^xsd:date ;
dct:source <https://github.com/stac-extensions/eo> ;
skos:inScheme <https://ogcincubator.github.io/bblocks-stac/> ;
dcat:keyword "eo",
Expand All @@ -46,15 +46,15 @@ EO data is considered to be data that represents a snapshot of the Earth for a s
dct:abstract "An item can describe assets that are rasters of one or multiple bands with some information common to them all (raster size, projection) and also specific to each of them (data type, unit, number of bits used, nodata). A raster is often strongly linked with the georeferencing transform and coordinate system definition of all bands (using the projection extension). In many applications, it is interesting to have some metadata about the rasters in the asset (values statistics, value interpretation, transforms)." ;
dct:created "2023-12-08T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/extensions/raster/" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.extensions.raster" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/extensions/raster/index.json" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md" ] ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/extensions/raster/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/extensions/raster/" ] ;
dct:hasVersion "0.1" ;
dct:modified "2024-03-25"^^xsd:date ;
dct:modified "2024-04-23"^^xsd:date ;
dct:source <https://github.com/stac-extensions/raster> ;
skos:inScheme <https://ogcincubator.github.io/bblocks-stac/> ;
dcat:keyword "raster",
Expand All @@ -78,21 +78,21 @@ EO data is considered to be data that represents a snapshot of the Earth for a s
rdfs:label "STAC Collection" ;
dct:abstract "A SpatioTemporal Asset Catalogs (STAC) collection. This building block implements validation of examples using the canonical schema and a JSON-LD context to a map to a RDF format that can support richer logical constraints and integration with related data." ;
dct:created "2023-12-08T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/collection/" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/collection/index.md" ],
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/collection/index.json" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.collection" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/collection/index.json" ] ;
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/collection/" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/collection/index.md" ] ;
dct:hasVersion "0.1" ;
dct:modified "2024-03-25"^^xsd:date ;
dct:modified "2024-04-23"^^xsd:date ;
dct:source <https://stacspec.org/en/about/stac-spec/> ;
skos:inScheme <https://ogcincubator.github.io/bblocks-stac/> ;
dcat:keyword "collection",
"stac" ;
bblocks:dependsOn <https://ogcincubator.github.io/ogc.api.records.core>,
bblocks:dependsOn <https://ogcincubator.github.io/ogc.api.records.v1.schemas.recordGeoJSON>,
<https://ogcincubator.github.io/ogc.ogc-utils.json-link> ;
bblocks:hasJsonLdContext <https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/context.jsonld> ;
bblocks:hasSchema <https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.json>,
Expand All @@ -106,21 +106,21 @@ EO data is considered to be data that represents a snapshot of the Earth for a s
rdfs:label "STAC Item" ;
dct:abstract "A SpatioTemporal Asset Catalogs (STAC) item" ;
dct:created "2023-12-08T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/item/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/slate-build/contrib/stac/item/" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/bblock/ogc.contrib.stac.item" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/item/index.json" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/markdown/contrib/stac/item/index.md" ] ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-stac/build/generateddocs/json-full/contrib/stac/item/index.json" ] ;
dct:hasVersion "0.1" ;
dct:modified "2024-03-25"^^xsd:date ;
dct:modified "2024-04-23"^^xsd:date ;
dct:source <https://stacspec.org/en/about/stac-spec/> ;
skos:inScheme <https://ogcincubator.github.io/bblocks-stac/> ;
dcat:keyword "item",
"stac" ;
bblocks:dependsOn <https://ogcincubator.github.io/ogc.api.records.core> ;
bblocks:dependsOn <https://ogcincubator.github.io/ogc.api.records.v1.schemas.recordGeoJSON> ;
bblocks:hasJsonLdContext <https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/context.jsonld> ;
bblocks:hasSchema <https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.json>,
<https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/item/schema.yaml> ;
Expand All @@ -147,18 +147,18 @@ Provides a framework for documentation and testing of additional extensions.
<https://opengeospatial.github.io/bblocks/register.json> .

[] a prov:Activity ;
prov:endedAtTime "2024-03-25T06:49:56.142476"^^xsd:dateTime ;
prov:startedAtTime "2024-03-25T06:49:56.078000"^^xsd:dateTime ;
prov:endedAtTime "2024-04-23T07:52:55.525399"^^xsd:dateTime ;
prov:startedAtTime "2024-04-23T07:52:55.458804"^^xsd:dateTime ;
prov:used [ a prov:Entity ;
dct:format "application/json" ;
dct:hasVersion "git:6dcfb0758bc92447056939d92a06655801f9c415" ;
rdfs:seeAlso <https://ogcincubator.github.io/bblocks-stac/build/register.json> ],
[ a prov:Entity ;
dct:format "application/yaml" ;
rdfs:seeAlso <file:///src/ogc/bblocks/register-context.yaml> ] ;
rdfs:seeAlso <file:///src/ogc/bblocks/register-context.yaml> ],
[ a prov:Entity ;
dct:format "application/json" ;
dct:hasVersion "git:046768fd254b231edfe681ca35cc42ce1f3db4cf" ;
rdfs:seeAlso <https://ogcincubator.github.io/bblocks-stac/build/register.json> ] ;
prov:wasAssociatedWith [ a prov:Agent,
schema:SoftwareApplication ;
rdfs:label "OGC-NA tools" ;
dct:hasVersion "0.3.43" ;
dct:hasVersion "0.3.44" ;
rdfs:seeAlso <https://github.com/opengeospatial/ogc-na-tools> ] .

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"itemClass": "schema",
"register": "ogc-incubator-building-block-register",
"version": "0.1",
"dateOfLastChange": "2024-03-25",
"dateOfLastChange": "2024-04-23",
"sources": [
{
"title": "STAC Specification",
Expand All @@ -26,14 +26,14 @@
"shaclRules": {},
"dependsOn": [
"ogc.ogc-utils.json-link",
"ogc.api.records.core"
"ogc.api.records.v1.schemas.recordGeoJSON"
],
"schema": {
"application/yaml": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.yaml",
"application/json": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/schema.json"
},
"ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/context.jsonld",
"sourceSchema": "https://ogcincubator.github.io/bblocks-stac/_sources/collection/schema.yaml",
"ldContext": "https://ogcincubator.github.io/bblocks-stac/build/annotated/contrib/stac/collection/context.jsonld",
"sourceFiles": "https://ogcincubator.github.io/bblocks-stac/_sources/collection/",
"validationPassed": false,
"testOutputs": "https://github.com/ogcincubator/bblocks-stac/blob/master/build/tests/contrib/stac/collection/",
Expand Down Expand Up @@ -61,7 +61,7 @@
]
}
],
"annotatedSchema": "$schema: https://json-schema.org/draft/2020-12/schema\ndescription: STAC Collection\nallOf:\n- $ref: https://github.com/radiantearth/stac-spec/raw/master/collection-spec/json-schema/collection.json\n- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/core/schema.yaml\n- type: object\n properties:\n links:\n type: array\n items:\n $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/json-link/schema.yaml\n",
"annotatedSchema": "$schema: https://json-schema.org/draft/2020-12/schema\ndescription: STAC Collection\nallOf:\n- $ref: https://github.com/radiantearth/stac-spec/raw/master/collection-spec/json-schema/collection.json\n- $ref: https://ogcincubator.github.io/bblocks-ogcapi-records/build/annotated/api/records/v1/schemas/recordGeoJSON/schema.yaml\n- type: object\n properties:\n links:\n type: array\n items:\n $ref: https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/json-link/schema.yaml\n",
"gitRepository": "https://github.com/ogcincubator/bblocks-stac",
"gitPath": "_sources/collection"
}
Loading

0 comments on commit 82bacf7

Please sign in to comment.