Skip to content

Commit

Permalink
Regenerate Make-managed files
Browse files Browse the repository at this point in the history
References:
* [OC-49] (CP-88) UCO needs to be able to represent a storage device's
  storage capacity

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Nov 3, 2022
1 parent 8da7c76 commit cb88547
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
50 changes: 50 additions & 0 deletions examples/illustrations/Oresteia/Oresteia_validation-unstable.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -1115,6 +1115,32 @@
ns1:method "Boot Loader" ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
a observable:MobileDeviceFacet ;
rdfs:comment
"TODO: Should clockSetting be a xsd:dateTime?" ,
"TODO: clockSetting as a time-point somewhat illustrates the scenario's specified skew of 25 hours, but might need a reference time-point."
;
ns1:localeLanguage "en_GR" ;
observable:IMEI "359305065690067" ;
observable:clockSetting "2017-06-21T06:36:24.350000+00:00"^^xsd:dateTime ;
observable:keypadUnlockCode "123789" ;
observable:phoneActivationTime "2017-05-09T07:36:24.350000+00:00"^^xsd:dateTime ;
observable:storageCapacityInBytes "11000000000"^^xsd:integer ;
] ;
sh:resultMessage "Deprecation notice: the value referenced by observable:storageCapacityInBytes will be required to be stored in observable:totalStorageCapacityInBytes in UCO 2.0.0."@en ;
sh:resultPath observable:storageCapacityInBytes ;
sh:resultSeverity sh:Warning ;
sh:sourceConstraintComponent sh:MaxCountConstraintComponent ;
sh:sourceShape [
sh:maxCount "0"^^xsd:integer ;
sh:message "Deprecation notice: the value referenced by observable:storageCapacityInBytes will be required to be stored in observable:totalStorageCapacityInBytes in UCO 2.0.0."@en ;
sh:path observable:storageCapacityInBytes ;
sh:severity sh:Warning ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
Expand Down Expand Up @@ -4993,6 +5019,30 @@
observable:MSISDN "1239275339" ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
a observable:MobileDeviceFacet ;
rdfs:comment
"TODO: An earlier version of Oresteia had a timezoneSetting property. This can apparently now be either uco-observable property 'timezoneDST' or 'timezoneStandard', both a xsd:string type. Is there an option, such as drawing data from the IANA time zones database, to simplify this?" ,
"TODO: Should uco-observable:clockSetting be a datetime instead of a string?"
;
observable:IMEI "359305065690067" ;
observable:clockSetting "2017-06-22T07:36:24.350000+00:00"^^xsd:dateTime ;
observable:keypadUnlockCode "1234" ;
observable:storageCapacityInBytes "11000000000"^^xsd:integer ;
] ;
sh:resultMessage "Deprecation notice: the value referenced by observable:storageCapacityInBytes will be required to be stored in observable:totalStorageCapacityInBytes in UCO 2.0.0."@en ;
sh:resultPath observable:storageCapacityInBytes ;
sh:resultSeverity sh:Warning ;
sh:sourceConstraintComponent sh:MaxCountConstraintComponent ;
sh:sourceShape [
sh:maxCount "0"^^xsd:integer ;
sh:message "Deprecation notice: the value referenced by observable:storageCapacityInBytes will be required to be stored in observable:totalStorageCapacityInBytes in UCO 2.0.0."@en ;
sh:path observable:storageCapacityInBytes ;
sh:severity sh:Warning ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,26 @@
observable:MSISDN "31618300XXX" ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
a observable:MobileDeviceFacet ;
observable:IMEI "35540607448XXXX" ;
observable:clockSetting "2018-02-24T07:36:24.350000+00:00"^^xsd:dateTime ;
observable:keypadUnlockCode "123456" ;
observable:storageCapacityInBytes "17179869184"^^xsd:integer ;
] ;
sh:resultMessage "Deprecation notice: the value referenced by observable:storageCapacityInBytes will be required to be stored in observable:totalStorageCapacityInBytes in UCO 2.0.0."@en ;
sh:resultPath observable:storageCapacityInBytes ;
sh:resultSeverity sh:Warning ;
sh:sourceConstraintComponent sh:MaxCountConstraintComponent ;
sh:sourceShape [
sh:maxCount "0"^^xsd:integer ;
sh:message "Deprecation notice: the value referenced by observable:storageCapacityInBytes will be required to be stored in observable:totalStorageCapacityInBytes in UCO 2.0.0."@en ;
sh:path observable:storageCapacityInBytes ;
sh:severity sh:Warning ;
] ;
] ,
[
a sh:ValidationResult ;
sh:focusNode [
Expand Down

0 comments on commit cb88547

Please sign in to comment.