Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Major Changes:

Minor Changes:

* fix: Aligned date/time extraction functions (`$dayOfWeek`, `$dayOfMonth`, `$month`, `$year`) in JSON Schema to accept all `dateTimeOperand` types per BNF grammar, and widened `timeLiteralPattern` to support fractional seconds.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need fractional seconds?

* fix: Wrong ServiceSpecificationProfileEnum values for v3.0 profiles. (https://github.com/admin-shell-io/aas-specs-api/issues/526[#526])
* removed: Remove TREE. (https://github.com/admin-shell-io/aas-specs-api/issues/537)
* fix: fixed FILTER object in json schema & fixed inconsistencies in BNF (https://github.com/admin-shell-io/aas-specs-api/issues/547)
Expand Down
10 changes: 5 additions & 5 deletions documentation/IDTA-01002-3/modules/ROOT/pages/schema.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"timeLiteralPattern": {
"type": "string",
"pattern": "^[0-9][0-9]:[0-9][0-9](:[0-9][0-9])?$"
"pattern": "^[0-9]{2}:[0-9]{2}(:[0-9]{2})?(\\.[0-9]+)?$"
},
"Value": {
"type": "object",
Expand Down Expand Up @@ -70,16 +70,16 @@
"$ref": "#/definitions/Value"
},
"$dayOfWeek": {
"$ref": "#/definitions/dateTimeLiteralPattern"
"$ref": "#/definitions/Value"

@BirgitBoss BirgitBoss Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it Value and not just string? Same question for all date related fields

},
"$dayOfMonth": {
"$ref": "#/definitions/dateTimeLiteralPattern"
"$ref": "#/definitions/Value"
},
"$month": {
"$ref": "#/definitions/dateTimeLiteralPattern"
"$ref": "#/definitions/Value"
},
"$year": {
"$ref": "#/definitions/dateTimeLiteralPattern"
"$ref": "#/definitions/Value"
}
},
"oneOf": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"timeLiteralPattern": {
"type": "string",
"pattern": "^[0-9][0-9]:[0-9][0-9](:[0-9][0-9])?$"
"pattern": "^[0-9]{2}:[0-9]{2}(:[0-9]{2})?(\\.[0-9]+)?$"
},
"Value": {
"type": "object",
Expand Down Expand Up @@ -67,16 +67,16 @@
"$ref": "#/definitions/Value"
},
"$dayOfWeek": {
"$ref": "#/definitions/dateTimeLiteralPattern"
"$ref": "#/definitions/Value"
},
"$dayOfMonth": {
"$ref": "#/definitions/dateTimeLiteralPattern"
"$ref": "#/definitions/Value"
},
"$month": {
"$ref": "#/definitions/dateTimeLiteralPattern"
"$ref": "#/definitions/Value"
},
"$year": {
"$ref": "#/definitions/dateTimeLiteralPattern"
"$ref": "#/definitions/Value"
}
},
"oneOf": [
Expand Down
Loading