FDA / openfda

openFDA is an FDA project to provide open APIs, raw data downloads, documentation and examples, and a developer community for an important collection of FDA public datasets.
https://open.fda.gov
Creative Commons Zero v1.0 Universal
569 stars 131 forks source link

Incorrect schema documentation #128

Closed maksle closed 4 years ago

maksle commented 4 years ago

The field regulation_number is returned as a string from the API but is marked as a list of strings in the deviceevent.yaml and in schemas/deviceevent_schema.json.

The following fields are returned as lists, but are marked as strings in the same files:

sequence_number_outcome
sequence_number_treatment
remedial_action
dkrylovsb commented 4 years ago

Fixed.