DS Specifications
Domain SpecificationsListsVocabularies
main
main
  • DS Specifications Overview
  • Domain Specifications
    • DS-V7
      • DS-V7 - Changelog
      • DS-V7 - Developer Notes
      • DS-V7 - Grammar
        • Domain Specification
          • @Context
          • Domain Specification Node
          • Property Node
          • Class Node
          • DataType Node
          • Enumeration Node
        • Verification Report
          • Verification Report Node
          • Error Entry Node
          • Error List for the domain-specific verification
        • DS-Path
      • DS-V7 - Examples
    • DS-V6
    • DS-V5
      • DS-V5 - Grammar
        • VerificationReport
          • Error List for the basic verification
          • Verification of schema.org annotations
          • Error List for the Meta verification of DS (unfinished)
          • Error List for the DS-based verification
        • Grammar and semantics of Domain Specifications
          • Enumeration Node
          • Property Node
          • Domain Specification Node
          • Class Node
          • Terms used in Domain Specifications
          • @Context
          • DataType Node
      • DS-V5 - Examples
    • DS-V4
    • DS-V3
      • DS-V3 - Examples
      • DS-V3 - Grammar
        • VerificationReport
          • Error List for the basic verification
          • Verification of schema.org annotations
          • Error List for the DS-based verification
          • Error List for the Meta verification of DS
        • Grammar and semantics of Domain Specifications
          • SDO Enumeration
          • SDO Property
          • Domain Specification
          • SDO Class
          • SDO Datatype
          • @Context
    • DS-V2
      • DS-V2 - Grammar
        • Grammar and semantics of Domain Specifications
          • Grammar Documentation for node type "RestrictedEnumeration"
          • Grammar Documentation for node type "CustomEnumerationValue"
          • Grammar Documentation for node type "Enumeration"
          • Grammar Documentation for node type "Property"
          • Grammar Documentation for node type "RestrictedProperty"
          • Grammar Documentation for node type "DomainSpecification"
          • Grammar Documentation for node type "RestrictedClass"
          • Grammar Documentation for node type "EnumerationValue"
          • Grammar Documentation for node type "Class"
          • Grammar Documentation for node type "DataType"
        • Numeric Pattern
        • Grammar Documentation for node type "VerificationReport"
          • Grammar Documentation for node type "Error"
          • Error codes for Verification Reports
        • Rules Grammar
          • Grammar Documentation for node type "ComplexRule"
          • Grammar Documentation for node type "DateRule"
          • Grammar Documentation for node type "TextRule"
          • Grammar Documentation for node type "TimeRule"
          • Grammar Documentation for node type "NumberRule"
          • Grammar Documentation for node type "BooleanRule"
          • Grammar Documentation for node type "DateTimeRule"
      • DS-V2 - Examples
    • DS-V1
      • DS-V1 - Examples
      • DS-V1 - Grammar
  • SDO-Verification
  • Lists
    • List-V1
  • Vocabularies
  • DS-Vocabulary
    • Input
      • Vocabulary for Domain Specifications
      • DS-Vocabulary
    • DS-Vocab-V1
Powered by GitBook
On this page
  • Error Codes for the DS verification (start with 5)
  • Semantics for Class Matching
  1. Domain Specifications
  2. DS-V5
  3. DS-V5 - Grammar
  4. VerificationReport

Error List for the DS-based verification

Error codes have been introduced for the new advanced constraint components in DS-V5 (error codes 511 - 536).

Error Codes for the DS verification (start with 5)

ErrorCode
Name
Severity
Description

500

Generic compliance verification error

Error

Can be used as super-type for any error regarding the compliance verification

501

Non-conform target @type

Critical

Annotation has a @type not specified by the DS - Applies to the @type of the root object

502

Non-conform property

Warning

Annotation has a property that is not specified by the DS

503

Missing property

Error

Annotation has a missing property that is defined as required by the DS

504

Non-conform cardinality

Error

Annotation has a property with a cardinality (amount of values), that is non-conform to the DS

505

Non-conform range

Error

Annotation has a property with a @type/datatype that is non-conform to the DS

506

Non-conform enumeration value

Error

Property has an enumeration value that is non-conform to the DS

511

Non-conform sh:maxLength

Error

String value has length that is bigger than allowed

512

Non-conform sh:minLength

Error

String value has length that is smaller than allowed

513

Non-conform sh:pattern

Error

String value does not match the specified Regex Pattern

514

Non-conform sh:languageIn

Error

String value does not use any of the specified language tags

515

Non-conform sh:uniqueLang

Error

Property has string values that use the same language tag

521

Non-conform sh:minExclusive

Error

Numeric value is smaller than allowed

522

Non-conform sh:minInclusive

Error

Numeric value is smaller than allowed

523

Non-conform sh:maxExclusive

Error

Numeric value is bigger than allowed

524

Non-conform sh:maxInclusive

Error

Numeric value is bigger than allowed

531

Non-conform sh:equals

Error

Value of property is not equal to the value of the other property specified

532

Non-conform sh:disjoint

Error

Value of property is equal to the value of the other property specified

533

Non-conform sh:lessThan

Error

Value of property is not smaller than the value of the other property specified

534

Non-conform sh:lessThanOrEquals

Error

Value of property is not smaller or equal than the value of the other property specified

535

Non-conform sh:in

Error

Value of property does not match any value of the given list

536

Non-conform sh:hasValue

Error

Value of property does not contain the given value

Semantics for Class Matching

Regarding the matching of sh:targetClass/sh:class and the @type of an entity:

Domain Specification
Annotation
Match

sh:targetClass / sh:class

@type

exact match

LodgingBusiness

LodgingBusiness

yes

additional type

LodgingBusiness

LodgingBusiness, Product

no

sub-type

LodgingBusiness

Motel

yes

no relation

LodgingBusiness

CreativeWork

no

exact match

LodgingBusiness, Product

LodgingBusiness, Product

yes

additional type

LodgingBusiness, Product

LodgingBusiness, Product, CreativeWork

no

sub-type

LodgingBusiness, Product

Hotel, Product

yes

not all types

LodgingBusiness, Product

LodgingBusiness

no

no relation

LodgingBusiness, Product

CreativeWork

no

PreviousError List for the Meta verification of DS (unfinished)NextGrammar and semantics of Domain Specifications

Last updated 3 years ago