Skip to content

Commit

Permalink
support DAG array as option for direct schema reference. Update docs …
Browse files Browse the repository at this point in the history
…with new descirption options.
  • Loading branch information
rob-metalinkage committed Feb 1, 2024
1 parent f7c1e42 commit c1030cc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _sources/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1155,11 +1155,15 @@
}
},
"anyOf": [
{
"$ref": "#/$defs/Prov"
},
{
"$ref": "#/$defs/Entity"
},
{
"$ref": "#/$defs/Activity"
}

]
}
12 changes: 12 additions & 0 deletions bblocks-config.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
identifier-prefix: ogc.ogc-utils.prov

name: JSON schema for W3C PROV model
abstract: Defines a graph structure based on an array of objects implementing PROV defined classes with object cross references
description: |
Provenance defined using the [W3C PROV-O model](https://www.w3.org/TR/prov-o/) is a DAG (non-cyclic graph) based on three main object types: Entity, Activity and Agent.
This repository defines a JSON schema and matching JSON-LD context for this model, using the canonical terminology used in the PROV ontology as element names.
It also defines a context for an optional schema property "has_provenance" that can be used to wrap a provenance graph as an array of such objects, to extend the prov:wasGeneratedBy (whose range is one or more Entity objects) with an explicit schema.
![](https://www.w3.org/TR/prov-o/diagrams/starting-points.svg)

0 comments on commit c1030cc

Please sign in to comment.