# open-fda — JSON Schema Spectral ruleset (strengthened) # Plain Spectral. Rules measured from this provider's own JSON Schema # conventions by strengthen_jsonschema.py, then self-validated against them. # # Provenance: # - property-name-casing: snake @ 100% (n=1007) rules: property-name-casing: description: Schema properties should be snake_case (the dominant convention in this API). severity: warn given: $..properties then: field: '@key' function: casing functionOptions: type: snake no-empty-descriptions: description: Descriptions must not be empty strings. severity: warn given: $..description then: function: truthy