Added $filters to AAS QL & enhanced Fragment Fieldidentifiers#532
Added $filters to AAS QL & enhanced Fragment Fieldidentifiers#532Martin187187 wants to merge 38 commits intoadmin-shell-io:IDTA-01002-3-2_workingfrom
Conversation
…3-2_working Idta 01002 3 2 working
Updated the description of the $filters option in the Query Language section to clarify the filtering of Submodel elements.
Updated query language documentation to include details on filtering out values based on 'HIDE_VALUE' in semanticId.
Thanks alot for your review @mdanish98. I fixed the naming inconsistencies. |
documentation/IDTA-01002-3/modules/ROOT/pages/json-grammar.txt
Dismissed
Show dismissed
Hide dismissed
There was a problem hiding this comment.
I changed a lot here because:
- added Fragment Field Identifier that are used to express what to filter (different to normal field identifier
- I noticed huge gaps between the json and bnf. I fixed the inconsistencies in the BNF so JSON schema has no breaking changes
|
I’ve updated this PR after identifying several inconsistencies and gaps between the JSON Schema and the BNF. Specifically:
If you’d like to review the test cases or see how I validated the schema, you can find them here: Happy to provide additional test data or walk through the validation approach if needed. |
documentation/IDTA-01002-3/modules/ROOT/partials/bnf/grammar.bnf
Dismissed
Show dismissed
Hide dismissed
documentation/IDTA-01002-3/modules/ROOT/partials/bnf/grammar.bnf
Dismissed
Show dismissed
Hide dismissed
| "USEFORMULA": { | ||
| "type": "string" | ||
| }, | ||
| "FRAGMENT": { |
There was a problem hiding this comment.
There was a significant discrepancy between the security JSON schema and the API JSON schema. In the security specification, the fragment object is nested inside the filter object, but this is not the case in the API schema. I have now updated both documents to use the security version for consistency.
|
blocked by #548 |
Query Language Filterchapter inQuery Languagechapter.FieldIdentifier FragmentDefinition from just plain string to a BNF specification. => allow non leaf paths and disallow required paths.