Catmandu::Fix::Condition::valid(3pm) | User Contributed Perl Documentation | Catmandu::Fix::Condition::valid(3pm) |
Catmandu::Fix::Condition::valid - Execute fixes if the data passes validation
# reject all items not conforming to a schema select valid('', JSONSchema, schema: "my/schema.json") # check the author field unless valid(author, JSONSchema, schema: "my/author.schema.json") ... # repair or give warning end
See Catmandu::Fix::validate to check and get validation errors.
2023-03-03 | perl v5.36.0 |