Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTE sample instance does not validate against the DTE schema #193

Open
nissimsan opened this issue Oct 23, 2024 · 1 comment
Open

DTE sample instance does not validate against the DTE schema #193

nissimsan opened this issue Oct 23, 2024 · 1 comment

Comments

@nissimsan
Copy link
Contributor

Impacted sections

Issue Description

The sample DTE sample does not comply with the DTE schema:

 Found 30 error(s)
Message:
JSON is valid against no schemas from 'oneOf'.
Schema path:
#/$defs/Event/oneOf
Message:
Value "TransformationEvent" is not defined in enum.
Schema path:
#/$defs/ObjectEvent/properties/type/items/enum
Message:
Value "TransformationEvent" is not defined in enum.
Schema path:
#/$defs/AggregationEvent/properties/type/items/enum
Message:
Value "TransformationEvent" is not defined in enum.
Schema path:
#/$defs/TransactionEvent/properties/type/items/enum
Message:
Value "TransformationEvent" is not defined in enum.
Schema path:
#/$defs/AssociationEvent/properties/type/items/enum
Message:
Value ["TransformationEvent","Event"] does not match const.
Schema path:
#/$defs/ObjectEvent/properties/type/const
Message:
Value ["TransformationEvent","Event"] does not match const.
Schema path:
#/$defs/AggregationEvent/properties/type/const
Message:
Value ["TransformationEvent","Event"] does not match const.
Schema path:
#/$defs/TransactionEvent/properties/type/const
Message:
Value ["TransformationEvent","Event"] does not match const.
Schema path:
#/$defs/AssociationEvent/properties/type/const
Message:
Value "Add" is not defined in enum.
Schema path:
#/$defs/AssociationEvent/properties/action/enum
Message:
Value "Add" is not defined in enum.
Schema path:
#/$defs/TransactionEvent/properties/action/enum
Message:
Value "Add" is not defined in enum.
Schema path:
#/$defs/AggregationEvent/properties/action/enum
Message:
Value "Add" is not defined in enum.
Schema path:
#/$defs/ObjectEvent/properties/action/enum
Message:
Value "Add" is not defined in enum.
Schema path:
#/$defs/TransformationEvent/properties/action/enum
Message:
Required properties are missing from object: sourcePartyId, destinationPartyId.
Schema path:
#/$defs/TransactionEvent/required
Message:
JSON is valid against no schemas from 'oneOf'.
Schema path:
#/$defs/Event/oneOf
Message:
Value "ObjectEvent" is not defined in enum.
Schema path:
#/$defs/TransformationEvent/properties/type/items/enum
Message:
Value "ObjectEvent" is not defined in enum.
Schema path:
#/$defs/AggregationEvent/properties/type/items/enum
Message:
Value "ObjectEvent" is not defined in enum.
Schema path:
#/$defs/TransactionEvent/properties/type/items/enum
Message:
Value "ObjectEvent" is not defined in enum.
Schema path:
#/$defs/AssociationEvent/properties/type/items/enum
Message:
Value ["ObjectEvent","Event"] does not match const.
Schema path:
#/$defs/TransformationEvent/properties/type/const
Message:
Value ["ObjectEvent","Event"] does not match const.
Schema path:
#/$defs/AggregationEvent/properties/type/const
Message:
Value ["ObjectEvent","Event"] does not match const.
Schema path:
#/$defs/TransactionEvent/properties/type/const
Message:
Value ["ObjectEvent","Event"] does not match const.
Schema path:
#/$defs/AssociationEvent/properties/type/const
Message:
Value "Add" is not defined in enum.
Schema path:
#/$defs/AssociationEvent/properties/action/enum
Message:
Value "Add" is not defined in enum.
Schema path:
#/$defs/TransactionEvent/properties/action/enum
Message:
Value "Add" is not defined in enum.
Schema path:
#/$defs/AggregationEvent/properties/action/enum
Message:
Value "Add" is not defined in enum.
Schema path:
#/$defs/ObjectEvent/properties/action/enum
Message:
Value "Add" is not defined in enum.
Schema path:
#/$defs/TransformationEvent/properties/action/enum
Message:
Required properties are missing from object: sourcePartyId, destinationPartyId.
Schema path:
#/$defs/TransactionEvent/required
@nissimsan
Copy link
Contributor Author

"action": "Add" is incorrectly capitalized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant