Commit 37fd764e authored by Jérome Perrin's avatar Jérome Perrin

stack/erp5: format json with ./format-json

json-schemas test is complaining that some jsons are not formatted according to
this standard.
parent 9a990c22
...@@ -6,7 +6,12 @@ ...@@ -6,7 +6,12 @@
"routing-rule-list": { "routing-rule-list": {
"description": "Maps the path received in requests to given zope path. Rules are applied in the order they are given. This requires the path received from the outside world (typically: frontend) to have its root correspond to Zope's root (for frontend: 'path' parameter must be empty), with the customary VirtualHostMonster construct (for frontend: 'type' must be 'zope').", "description": "Maps the path received in requests to given zope path. Rules are applied in the order they are given. This requires the path received from the outside world (typically: frontend) to have its root correspond to Zope's root (for frontend: 'path' parameter must be empty), with the customary VirtualHostMonster construct (for frontend: 'type' must be 'zope').",
"type": "array", "type": "array",
"default": [["/", "/"]], "default": [
[
"/",
"/"
]
],
"items": { "items": {
"type": "array", "type": "array",
"minItems": 2, "minItems": 2,
...@@ -84,12 +89,18 @@ ...@@ -84,12 +89,18 @@
"activity-timeout": { "activity-timeout": {
"description": "How long a CMFActivity-initiated transaction may last, in seconds", "description": "How long a CMFActivity-initiated transaction may last, in seconds",
"default": null, "default": null,
"type": ["number", "null"] "type": [
"number",
"null"
]
}, },
"publisher-timeout": { "publisher-timeout": {
"description": "How long a publisher-initiated transaction may last, in seconds", "description": "How long a publisher-initiated transaction may last, in seconds",
"default": null, "default": null,
"type": ["number", "null"] "type": [
"number",
"null"
]
}, },
"family-override": { "family-override": {
"description": "Family-wide options, possibly overriding global options", "description": "Family-wide options, possibly overriding global options",
...@@ -105,11 +116,17 @@ ...@@ -105,11 +116,17 @@
}, },
"activity-timeout": { "activity-timeout": {
"description": "Override global activity timeout", "description": "Override global activity timeout",
"type": ["number", "null"] "type": [
"number",
"null"
]
}, },
"publisher-timeout": { "publisher-timeout": {
"description": "Override global publisher timeout", "description": "Override global publisher timeout",
"type": ["number", "null"] "type": [
"number",
"null"
]
} }
}, },
"type": "object" "type": "object"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment