Skip to content

Commit

Permalink
build schema too
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak committed Oct 11, 2023
1 parent 4032935 commit 5ac1ef8
Showing 1 changed file with 64 additions and 64 deletions.
128 changes: 64 additions & 64 deletions schema/schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$id": "@next",
"$id": "--no-top-ref",
"$ref": "#/definitions/Schema",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"AddressInput": {
"$id": "#AddressInput",
Expand Down Expand Up @@ -4760,8 +4760,7 @@
"description": "Details of the pre-application, if applicable",
"properties": {
"date": {
"format": "date-time",
"type": "string"
"$ref": "#/definitions/Date"
},
"officer": {
"type": "string"
Expand Down Expand Up @@ -15360,12 +15359,10 @@
"additionalProperties": false,
"properties": {
"completion": {
"format": "date-time",
"type": "string"
"$ref": "#/definitions/Date"
},
"start": {
"format": "date-time",
"type": "string"
"$ref": "#/definitions/Date"
}
},
"type": "object"
Expand Down Expand Up @@ -16097,6 +16094,64 @@
],
"description": "The result of a single flagset"
},
"Schema": {
"additionalProperties": false,
"description": "The root schema for an application generated by a digital planning service",
"properties": {
"data": {
"additionalProperties": false,
"properties": {
"applicant": {
"$ref": "#/definitions/Applicant"
},
"application": {
"$ref": "#/definitions/Application"
},
"property": {
"$ref": "#/definitions/Property"
},
"proposal": {
"$ref": "#/definitions/Proposal"
},
"user": {
"$ref": "#/definitions/User"
}
},
"required": [
"application",
"user",
"applicant",
"property",
"proposal"
],
"type": "object"
},
"files": {
"items": {
"$ref": "#/definitions/File"
},
"type": "array"
},
"metadata": {
"$ref": "#/definitions/Metadata"
},
"responses": {
"$ref": "#/definitions/Responses"
},
"result": {
"$ref": "#/definitions/Result"
}
},
"required": [
"data",
"result",
"metadata",
"responses",
"files"
],
"title": "Digital Planning Application",
"type": "object"
},
"SiteContact": {
"$id": "#SiteContact",
"anyOf": [
Expand Down Expand Up @@ -16797,60 +16852,5 @@
],
"description": "Vehicle parking types"
}
},
"description": "The root schema for an application generated by a digital planning service",
"properties": {
"data": {
"additionalProperties": false,
"properties": {
"applicant": {
"$ref": "#/definitions/Applicant"
},
"application": {
"$ref": "#/definitions/Application"
},
"property": {
"$ref": "#/definitions/Property"
},
"proposal": {
"$ref": "#/definitions/Proposal"
},
"user": {
"$ref": "#/definitions/User"
}
},
"required": [
"application",
"user",
"applicant",
"property",
"proposal"
],
"type": "object"
},
"files": {
"items": {
"$ref": "#/definitions/File"
},
"type": "array"
},
"metadata": {
"$ref": "#/definitions/Metadata"
},
"responses": {
"$ref": "#/definitions/Responses"
},
"result": {
"$ref": "#/definitions/Result"
}
},
"required": [
"data",
"result",
"metadata",
"responses",
"files"
],
"title": "Digital Planning Application",
"type": "object"
}
}

0 comments on commit 5ac1ef8

Please sign in to comment.