{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Field": {
"type": "object",
"properties": {
"Name": {
"type": "string"
},
"Path": {
"type": "string"
}
},
"required": [
"Name",
"Path"
],
"additionalProperties": false
},
"Fields": {
"type": "array",
"items": {
"$ref": "#/definitions/Field"
}
},
"Layout": {
"type": "object",
"properties": {
"$$Id": {
"type": "string"
},
"Fields": {
"$ref": "#/definitions/Fields"
},
"Condition": {
"type": "string"
},
"Iteration": {
"$ref": "#/definitions/Iteration"
},
"Contents": {
"$ref": "#/definitions/Contents"
}
},
"required": [
"$$Id"
],
"additionalProperties": false
},
"Layouts": {
"type": "array",
"items": {
"$ref": "#/definitions/Layout"
}
},
"Iteration": {
"type": "object",
"properties": {
"Path": {
"type": "string"
},
"Fields": {
"$ref": "#/definitions/Fields"
}
},
"required": [
"Path"
],
"additionalProperties": false
},
"Content": {
"type": "object",
"properties": {
"$$Id": {
"type": "string"
},
"Iteration": {
"$ref": "#/definitions/Iteration"
},
"Fields": {
"$ref": "#/definitions/Fields"
}
},
"required": [
"$$Id"
],
"additionalProperties": false
},
"Contents": {
"type": "array",
"items": {
"$ref": "#/definitions/Content"
}
},
"Document": {
"type": "object",
"properties": {
"$$Id": {
"type": "string"
},
"Condition": {
"type": "string"
},
"Fields": {
"$ref": "#/definitions/Fields"
},
"Iteration": {
"$ref": "#/definitions/Iteration"
},
"Layouts": {
"$ref": "#/definitions/Layouts"
}
},
"required": [
"$$Id"
],
"additionalProperties": false
},
"Documents": {
"type": "array",
"items": {
"$ref": "#/definitions/Document"
}
}
},
"type": "object",
"properties": {
"$$Id": {
"type": "string"
},
"Fields": {
"$ref": "#/definitions/Fields"
},
"Documents": {
"$ref": "#/definitions/Documents"
}
},
"required": [
"$$Id"
],
"additionalProperties": false
}