Created
July 27, 2023 18:42
-
-
Save harrybiddle/9ceb178a324800cf97bb683634534166 to your computer and use it in GitHub Desktop.
soo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://json-schema.org/draft/2020-12/schema", | |
"$id": "https://example.com/product.schema.json", | |
"title": "Trase Website Metadata", | |
"description": "", | |
"type": "object", | |
"properties": { | |
"name": {}, | |
"contexts": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"reference_title": {} | |
}, | |
"required": ["reference_title"] | |
} | |
}, | |
"metrics": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"backend_name": {}, | |
"type": {}, | |
"color_scheme": {}, | |
"color_intervals": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"context_slug": {}, | |
"intervals": { | |
"type": "array", | |
"items": { | |
"type": "integer" | |
} | |
} | |
} | |
}, | |
"required": ["context_slug"] | |
}, | |
"display_name": {}, | |
"tooltip": {} | |
}, | |
"required": ["backend_name"] | |
} | |
}, | |
"datasets": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"title": {}, | |
"short_description": {}, | |
"long_description": {}, | |
"doi": {}, | |
"country": {}, | |
"topic": {}, | |
"files": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"s3_key": {}, | |
"schema": { | |
"$ref": "https://specs.frictionlessdata.io/schemas/table-schema.json" | |
} | |
}, | |
"required": ["s3_key"] | |
} | |
} | |
}, | |
"required": [] | |
} | |
} | |
}, | |
"required": ["name"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment