JSON Schema Draft 2020-12 Properties Allowed Integer Format Error (Edit)

Schema integer properties should have a format property with int32 or int64 applied

JSON SchemaSchemaPropertiesTypes

Rule Definition

json-schema-2020-12-properties-allowed-integer-format-error.yaml
{"json-schema-2020-12-properties-allowed-integer-format-error":{"description":"Schema integer properties should have a format property with int32 or int64 applied","message":"Type Format MUST Be int32 or int64.","severity":"hint","given":"$.properties[?(@.type==\"integer\")]","then":{"field":"format","function":"enumeration","functionOptions":{"values":["int32","int64"]}}}}

Back to All of the Rules