This repository has been archived by the owner on Jan 4, 2022. It is now read-only.
Dash Platform Protocol v0.20.0
Features
- add metadata to document, data contract and identity (#318)
- prevent possible ReDoS attacks for Data Contracts (#311, #317, #315)
- strcit data contract JSON schema validation (#310, #312)
BREAKING CHANGES
dependencies
is not supported. UsedependentRequired
anddependentSchema
insteadadditionalitems
is not supported. Useitems: false
andprefixItems
insteadpatternProperties
is prohibited for Data Contract- error messages and properties are changed according to the new JSON Schema spec
pattern
keyword accept only RE2 compatible regular expressions- Document type and properties minimum length is 3 chars
definitions
is now defined using$defs
keyword- JSON Schema strict validation is enabled . Previous contract schemas invalid in case they are not respecting strict mode constraints (reference this link for more information)
- usage of
if
,then
,else
,allOf
,anyOf
,oneOf
not in document root properties is prohibited