# amazon-lightsail — 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: # - schema-declares-$schema: 2/2 roots # - schema-has-title: 2/2 roots rules: schema-declares-$schema: description: Every JSON Schema document should declare its $schema (draft). severity: warn given: $ then: field: $schema function: truthy schema-has-title: description: JSON Schema documents should declare a title. severity: info given: $ then: field: title function: truthy no-empty-descriptions: description: Descriptions must not be empty strings. severity: warn given: $..description then: function: truthy