@vitessce/json-schema
Version:
This directory contains NodeJS scripts for converting the Zod schemas from `@vitessce/schemas` (located in `packages/schemas/`) to JSON schema.
91 lines • 2.05 kB
JSON
{
"$ref": "#/definitions/config-0.1.0",
"definitions": {
"config-0.1.0": {
"type": "object",
"properties": {
"version": {
"type": "string",
"const": "0.1.0"
},
"name": {
"type": "string"
},
"public": {
"type": "boolean"
},
"description": {
"type": "string"
},
"layers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"fileType": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"type",
"fileType",
"url"
],
"additionalProperties": false
}
},
"staticLayout": {
"type": "array",
"items": {
"type": "object",
"properties": {
"component": {
"type": "string"
},
"props": {
"type": "object",
"additionalProperties": {}
},
"x": {
"type": "integer"
},
"y": {
"type": "integer"
},
"w": {
"type": "integer"
},
"h": {
"type": "integer"
}
},
"required": [
"component",
"x",
"y"
],
"additionalProperties": false
}
}
},
"required": [
"version",
"name",
"layers",
"staticLayout"
],
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}