vagrant@development:/var/govuk/govuk-content-schemas$ bundle exec rake
formats/specialist_document/frontend/examples/aaib-reports.json: had 1 error(s):
The property '#/details/metadata' of type Hash did not match one or more of the required schemas. The schema specific errors were:
- anyOf #0:
- The property '#/details/metadata' contains additional properties ["document_type"] outside of the schema when none are allowed
- anyOf #1:
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #2:
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #3:
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #4:
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #5:
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #6:
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #7:
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #8:
- The property '#/details/metadata/location' of type String did not match the following type: array
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #9:
- The property '#/details/metadata/location' of type String did not match the following type: array
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #10:
- The property '#/details/metadata/report_type' value "correspondence-investigation" did not match one of the following values: investigation-report, safety-bulletin, completed-preliminary-examination, overseas-report, discontinued-investigation
- The property '#/details/metadata' contains additional properties ["aircraft_category", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #11:
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #12:
- The property '#/details/metadata/report_type' value "correspondence-investigation" did not match one of the following values: investigation-report, bulletin, interim-report, discontinuation-report, safety-digest
- The property '#/details/metadata' contains additional properties ["aircraft_category", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #13:
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #14:
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
- anyOf #15:
- The property '#/details/metadata' contains additional properties ["date_of_occurrence", "aircraft_category", "report_type", "location", "aircraft_type", "registration", "document_type"] outside of the schema when none are allowed
The following examples don't validate against their schemas:
formats/specialist_document/frontend/examples/aaib-reports.json