View Issue Details

IDProjectCategoryView StatusLast Update
000978810000-006: MappingsSpecpublic2024-08-24 07:24
ReporterMatthias Damm Assigned ToRandy Armstrong  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version1.05.04 RC1 
Target Version1.05.04 
Summary0009788: Validation of JSON schema failed
Description

Unified Automation – Frank Fischer - comment on RC

Using https://github.com/python-jsonschema/jsonschema the schema does not validate:
jsonschema opc.ua.jsonschema.compact.json
ExtensionObject: 'ExtensionObject' is not valid under any of the given schemas

Using the online validator https://www.jsonschemavalidator.net/ completely invalid
UA JSON is is delcared correct:
{
"Type": 4,
"Body": {
"not-a-valid-opcua-field-name": 123
}
}

TagsNo tags attached.
Commit Version
Fix Due Date

Activities

Randy Armstrong

2024-08-24 07:23

administrator   ~0021618

Last edited: 2024-08-24 07:24

Checked in a fix for the python validator.

The second comment is does not make sense:

Using the online validator https://www.jsonschemavalidator.net/ completely invalid

UA JSON is is declared correct:
{
'Type': 4,
'Body': {
'not-a-valid-opcua-field-name': 123
}
}

This is valid because the contents of a Variant allow everything and cannot be checked automatically.
Applications that need to verify the contents of a Variant need to check the Type and apply a custom check based on the Type.

Issue History

Date Modified Username Field Change
2024-08-21 11:09 Matthias Damm New Issue
2024-08-24 07:23 Randy Armstrong Assigned To => Randy Armstrong
2024-08-24 07:23 Randy Armstrong Status new => resolved
2024-08-24 07:23 Randy Armstrong Resolution open => fixed
2024-08-24 07:23 Randy Armstrong Note Added: 0021618
2024-08-24 07:24 Randy Armstrong Note Edited: 0021618
2024-08-24 07:24 Randy Armstrong Note Edited: 0021618