allow x- properties in schema
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
eb7d7122e9
commit
f250ddee2c
@ -2,19 +2,24 @@ name: mycol
|
||||
uploadPath: ../media/mycol
|
||||
|
||||
meta:
|
||||
label: { de: mycol, en: mycol }
|
||||
rowIdentTpl: { twig: "{{ title }}" }
|
||||
views:
|
||||
- type: table
|
||||
columns:
|
||||
- title
|
||||
label: { de: mycol, en: mycol }
|
||||
rowIdentTpl: { twig: "{{ title }}" }
|
||||
views:
|
||||
- type: table
|
||||
columns:
|
||||
- title
|
||||
|
||||
permissions: !include global/test-permissions.yml
|
||||
|
||||
projections:
|
||||
test:
|
||||
select:
|
||||
field1: 1
|
||||
|
||||
hooks:
|
||||
get:
|
||||
return:
|
||||
type: javascript
|
||||
file: hooks/mycol/get_return.js
|
||||
get:
|
||||
return:
|
||||
type: javascript
|
||||
file: hooks/mycol/get_return.js
|
||||
|
||||
x-additional: test
|
||||
|
@ -4,6 +4,11 @@
|
||||
"description": "tibi-server collection linter",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x\\-": {
|
||||
"description": "template property"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
@ -4,6 +4,11 @@
|
||||
"description": "tibi-server config.yml linter",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x\\-": {
|
||||
"description": "template property"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"namespace": {
|
||||
"type": "string",
|
||||
|
@ -4,6 +4,11 @@
|
||||
"description": "tibi-server field linter",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x\\-": {
|
||||
"description": "template property"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
@ -4,6 +4,11 @@
|
||||
"description": "tibi-server hooks linter",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x\\-": {
|
||||
"description": "template property"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"get": {
|
||||
"type": "object",
|
||||
|
@ -4,6 +4,9 @@
|
||||
"description": "tibi-server imageFilter linter",
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^x\\-": {
|
||||
"description": "template property"
|
||||
},
|
||||
"^[a-zA-Z0-9_-]+$": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
@ -4,6 +4,11 @@
|
||||
"description": "tibi-server index linter",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x\\-": {
|
||||
"description": "template property"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
|
@ -4,6 +4,11 @@
|
||||
"description": "tibi-server cronjob linter",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"patternProperties": {
|
||||
"^x\\-": {
|
||||
"description": "template property"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"meta": {
|
||||
"type": "object",
|
||||
@ -24,4 +29,4 @@
|
||||
}
|
||||
},
|
||||
"required": ["type", "file"]
|
||||
}
|
||||
}
|
||||
|
@ -15,6 +15,9 @@
|
||||
}
|
||||
},
|
||||
"patternProperties": {
|
||||
"^x\\-": {
|
||||
"description": "template property"
|
||||
},
|
||||
"^token:": {
|
||||
"description": "permissions for header or query token",
|
||||
"$ref": "#/definitions/permissionSet"
|
||||
|
@ -1,9 +1,13 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "JSON Schema tibi-server imageFilter configuration",
|
||||
"description": "tibi-server imageFilter linter",
|
||||
"description": "tibi-server projections linter",
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^[a-zA-Z0-9_-]$": {
|
||||
"^x\\-": {
|
||||
"description": "template property"
|
||||
},
|
||||
"^[a-zA-Z0-9_-]+$": {
|
||||
"type": "object",
|
||||
"description": "dataset query projection config",
|
||||
"properties": {
|
||||
|
Loading…
Reference in New Issue
Block a user