Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harrybiddle/9ceb178a324800cf97bb683634534166 to your computer and use it in GitHub Desktop.
Save harrybiddle/9ceb178a324800cf97bb683634534166 to your computer and use it in GitHub Desktop.
soo
{
"$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