Skip to content

Add missing openfda fields to classification schema#221

Open
arpitjain099 wants to merge 1 commit into
FDA:masterfrom
arpitjain099:chore/add-missing-classification-openfda-fields
Open

Add missing openfda fields to classification schema#221
arpitjain099 wants to merge 1 commit into
FDA:masterfrom
arpitjain099:chore/add-missing-classification-openfda-fields

Conversation

@arpitjain099

Copy link
Copy Markdown

Fixes #199

The classification JSON schema was missing openfda.k_number and openfda.pma_number even though those fields are returned by the API and already present in classification_mapping.json.

This adds both fields under openfda as arrays of strings in schemas/deviceclass_schema.json.

Verified by checking live API responses:

  • search=openfda.k_number:* returns openfda.k_number
  • search=openfda.pma_number:* returns openfda.pma_number

and confirming those keys are now present in the schema.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing fields in classification schema file

1 participant