123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- {
- "$schema": "http://json-schema.org/draft-07/schema#",
- "type": "object",
- "description": "This schema is used to validate `values.schema.json` to ensure each parameter has `default` and `description` set, and that top level properties have a `x-docsSection` set.",
- "definitions": {
- "leafs": {
- "additionalProperties": {
- "additionalProperties": {
- "$ref": "#/definitions/leafs"
- }
- },
- "if": {
- "oneOf": [
- {
- "properties": {
- "type": {
- "const": "integer"
- }
- }
- },
- {
- "properties": {
- "type": {
- "const": "number"
- }
- }
- },
- {
- "properties": {
- "type": {
- "const": "string"
- }
- }
- },
- {
- "properties": {
- "type": {
- "const": "boolean"
- }
- }
- },
- {
- "properties": {
- "type": {
- "const": "object"
- },
- "properties": false
- }
- },
- {
- "properties": {
- "type": {
- "const": "array"
- },
- "items": false
- }
- }
- ]
- },
- "then": {
- "required": [
- "description",
- "default"
- ]
- }
- }
- },
- "required": [
- "x-docsSectionOrder"
- ],
- "properties": {
- "section_order": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "properties": {
- "additionalProperties": {
- "allOf": [
- {
- "$ref": "#/definitions/leafs"
- },
- {
- "required": [
- "x-docsSection"
- ]
- }
- ]
- }
- }
- }
- }
|