Skip to content

Commit

Permalink
Merge pull request #3066 from alphagov/tidy-up-config
Browse files Browse the repository at this point in the history
Tidy up specialist_document.jsonnet
  • Loading branch information
ChrisBAshton authored Dec 31, 2024
2 parents 303baf6 + 0630a6e commit 3386bde
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -642,13 +642,13 @@
"$ref": "#/definitions/international_development_fund_metadata"
},
{
"$ref": "#/definitions/licence_transaction_metadata"
"$ref": "#/definitions/farming_grant_metadata"
},
{
"$ref": "#/definitions/flood_and_coastal_erosion_risk_management_research_report"
},
{
"$ref": "#/definitions/farming_grant_metadata"
"$ref": "#/definitions/licence_transaction_metadata"
},
{
"$ref": "#/definitions/life_saving_maritime_appliance_service_station_metadata"
Expand Down Expand Up @@ -1847,10 +1847,7 @@
"pattern": "^[1-9][0-9]{3}[-/](0[1-9]|1[0-2])[-/](0[1-9]|[12][0-9]|3[0-1])$"
},
"research_document_type": {
"type": "string",
"items": {
"type": "string"
}
"type": "string"
},
"review_status": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -730,13 +730,13 @@
"$ref": "#/definitions/international_development_fund_metadata"
},
{
"$ref": "#/definitions/licence_transaction_metadata"
"$ref": "#/definitions/farming_grant_metadata"
},
{
"$ref": "#/definitions/flood_and_coastal_erosion_risk_management_research_report"
},
{
"$ref": "#/definitions/farming_grant_metadata"
"$ref": "#/definitions/licence_transaction_metadata"
},
{
"$ref": "#/definitions/life_saving_maritime_appliance_service_station_metadata"
Expand Down Expand Up @@ -1966,10 +1966,7 @@
"pattern": "^[1-9][0-9]{3}[-/](0[1-9]|1[0-2])[-/](0[1-9]|[12][0-9]|3[0-1])$"
},
"research_document_type": {
"type": "string",
"items": {
"type": "string"
}
"type": "string"
},
"review_status": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -576,13 +576,13 @@
"$ref": "#/definitions/international_development_fund_metadata"
},
{
"$ref": "#/definitions/licence_transaction_metadata"
"$ref": "#/definitions/farming_grant_metadata"
},
{
"$ref": "#/definitions/flood_and_coastal_erosion_risk_management_research_report"
},
{
"$ref": "#/definitions/farming_grant_metadata"
"$ref": "#/definitions/licence_transaction_metadata"
},
{
"$ref": "#/definitions/life_saving_maritime_appliance_service_station_metadata"
Expand Down Expand Up @@ -1658,10 +1658,7 @@
"pattern": "^[1-9][0-9]{3}[-/](0[1-9]|1[0-2])[-/](0[1-9]|[12][0-9]|3[0-1])$"
},
"research_document_type": {
"type": "string",
"items": {
"type": "string"
}
"type": "string"
},
"review_status": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@
"$ref": "#/definitions/international_development_fund_metadata",
},
{
"$ref": "#/definitions/licence_transaction_metadata",
"$ref": "#/definitions/farming_grant_metadata",
},
{
"$ref": "#/definitions/flood_and_coastal_erosion_risk_management_research_report",
},
{
"$ref": "#/definitions/farming_grant_metadata",
"$ref": "#/definitions/licence_transaction_metadata",
},
{
"$ref": "#/definitions/life_saving_maritime_appliance_service_station_metadata",
Expand Down Expand Up @@ -653,6 +653,33 @@
},
},
},
farming_grant_metadata: {
type: "object",
additionalProperties: false,
properties: {
bulk_published: {
type: "boolean",
},
areas_of_interest: {
type: "array",
items: {
type: "string",
}
},
land_types: {
type: "array",
items: {
type: "string",
}
},
payment_types: {
type: "array",
items: {
type: "string",
},
},
},
},
flood_and_coastal_erosion_risk_management_research_report: {
type: "object",
additionalProperties: false,
Expand Down Expand Up @@ -749,33 +776,6 @@
},
},
},
farming_grant_metadata: {
type: "object",
additionalProperties: false,
properties: {
bulk_published: {
type: "boolean",
},
areas_of_interest: {
type: "array",
items: {
type: "string",
}
},
land_types: {
type: "array",
items: {
type: "string",
}
},
payment_types: {
type: "array",
items: {
type: "string",
},
},
},
},
life_saving_maritime_appliance_service_station_metadata: {
type: "object",
additionalProperties: false,
Expand Down Expand Up @@ -1048,9 +1048,6 @@
},
research_document_type: {
type: "string",
items: {
type: "string",
},
},
},
},
Expand Down Expand Up @@ -1161,20 +1158,20 @@
type: "object",
additionalProperties: false,
properties: {
"decision_subject": {
"type": "string",
decision_subject: {
type: "string",
},
regions: {
type: "array",
items: {
type: "string",
},
},
"case_type": {
"type": "string",
case_type: {
type: "string",
},
"outcome_type": {
"type": "string",
outcome_type: {
type: "string",
},
first_published_at: {
type: "string",
Expand Down

0 comments on commit 3386bde

Please sign in to comment.