airr-community / airr-standards

AIRR Community Data Standards
https://docs.airr-community.org
Creative Commons Attribution 4.0 International
35 stars 23 forks source link

reactivity_measurements in Receptor is invalid schema #647

Closed schristley closed 1 year ago

schristley commented 1 year ago

The express openapi3 middleware tags reactivity_measurements in Receptor as invalid schema.

Error: schema is invalid: data.allOf[0].properties['reactivity_measurements'].items.properties['reactivity_value'].type should be equal to one of the allowed values, data.allOf[0].properties['reactivity_measurements'].items.properties['reactivity_value'].type should be array, data.allOf[0].properties['reactivity_measurements'].items.properties['reactivity_value'].type should match some schema in anyOf, data.allOf[0].properties['reactivity_measurements'].items should be array, data.allOf[0].properties['reactivity_measurements'].items should match some schema in anyOf

the middleware is using the ADC API 1.2 spec

schristley commented 1 year ago

I think the error is reactivity_value is type: float when it should be type: number