Commit 7748b69
committed
Wrap bare context.jsonld objects in @context during schema annotation
If a local context file passed to annotate_schema lacks a top-level
'@context' key, wrap the whole object in one before handing it to the
ogc-na-tools SchemaAnnotator. This lets building blocks provide a bare
context mapping without the envelope.1 parent 3d439a6 commit 7748b69
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| |||
0 commit comments