Skip to content

Commit

Permalink
Add certificationRating property to Certification.
Browse files Browse the repository at this point in the history
  • Loading branch information
duckladydinh authored and alex-jansen committed Apr 8, 2024
1 parent c7dc8e5 commit fb4ad4e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
14 changes: 13 additions & 1 deletion data/ext/pending/issue-3230-examples.txt
Expand Up @@ -52,6 +52,12 @@ JSON:
},
"logo": "https://eprel.ec.europa.eu/assets/images/label/thumbnails/E-Left-LightOrange-WithAGScale.png",
"certificationIdentification": "1779994",
"certificationRating": {
"@type": "Rating",
"ratingValue": "E",
"bestRating": "A",
"worstRating": "G"
},
"hasMeasurement": {
"@type": "QuantitativeValue",
"name": "Energy Efficiency Index (EEI)",
Expand Down Expand Up @@ -338,7 +344,7 @@ JSON:
"schema:name": "WolfCrypt",
"hasCertification": {
"type": "Certification",
"schema:name": "FIPS compliance",
"schema:name": "FIPS 140-2",
"url": "https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/3389",
"certificationStatus": "CertificationActive",
"issuedBy": {
Expand All @@ -347,6 +353,12 @@ JSON:
"url": "https://www.nist.gov"
},
"certificationIdentification": "3389",
"certificationRating": {
"@type": "Rating",
"ratingValue": 1,
"bestRating": 4,
"worstRating": 1
},
"expires": "2024-03-03"
}
},
Expand Down
8 changes: 8 additions & 0 deletions data/ext/pending/issue-3230.ttl
Expand Up @@ -28,6 +28,14 @@
:source <https://github.com/schemaorg/schemaorg/issues/3230> ;
rdfs:comment "Identifier of a certification instance (as registered with an independent certification body). Typically this identifier can be used to consult and verify the certification instance. See also [gs1:certificationIdentification](https://www.gs1.org/voc/certificationIdentification)." .

:certificationRating a rdf:Property ;
rdfs:label "certificationRating" ;
:domainIncludes :Certification ;
:isPartOf <https://pending.schema.org> ;
:rangeIncludes :Rating ;
:source <https://github.com/schemaorg/schemaorg/issues/3230> ;
rdfs:comment "Rating of a certification instance (as defined by an independent certification body). Typically this rating can be used to rate the level to which the requirements of the certification instance are fulfilled. See also [gs1:certificationValue](https://www.gs1.org/voc/certificationValue)." .

:CertificationStatusEnumeration a rdfs:Class ;
rdfs:label "CertificationStatusEnumeration" ;
:isPartOf <https://pending.schema.org> ;
Expand Down
4 changes: 2 additions & 2 deletions data/schema.ttl
Expand Up @@ -4557,7 +4557,7 @@ See also the <a href="/docs/hotels.html">dedicated document on the use of schema
:domainIncludes :Rating ;
:rangeIncludes :Number,
:Text ;
rdfs:comment "The highest value allowed in this rating system. If bestRating is omitted, 5 is assumed." .
rdfs:comment "The highest value allowed in this rating system." .
:billingAddress a rdf:Property ;
rdfs:label "billingAddress" ;
Expand Down Expand Up @@ -9527,7 +9527,7 @@ we define a supporting type, [[SpeakableSpecification]] which is defined to be
:domainIncludes :Rating ;
:rangeIncludes :Number,
:Text ;
rdfs:comment "The lowest value allowed in this rating system. If worstRating is omitted, 1 is assumed." .
rdfs:comment "The lowest value allowed in this rating system." .

:xpath a rdf:Property ;
rdfs:label "xpath" ;
Expand Down

0 comments on commit fb4ad4e

Please sign in to comment.