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-V7
  3. DS-V7 - Grammar
  4. Verification Report

Error List for the domain-specific verification

The following errors are generated during the compliance check of a schema.org annotation/RDF-Graph based on the constraints defined by a Domain Specification.

Error Codes for the DS verification (start with 5)

ErrorCode
Name
Severity
Description

500

Generic compliance verification error

Any

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

501

Non-conform target @type

Error

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

502

Non-conform property

Warning or Error

Annotation has a property that is not specified by the DS. The occurrence and severity of this error depends on the use of sh:closed: false -> no error. true -> error. not used -> warning

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 greater 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 greater than allowed

524

Non-conform sh:maxInclusive

Error

Numeric value is greater 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

537

Non-conform ds:hasLanguage

Error

Value of property does not use the given language

Semantics for Class Matching

In the following our understanding of the class-subclass relationship is explained.This relationship is important to determine valid matches for sh:targetClass / sh:class and ds:subDSOf.

A set of classes 'SubDS' is a valid match for another set of classes 'SuperDS' if all elements in 'SuperDS' are also present in a set that contains all elements from 'SubDS' along with all their superclasses:

classes(SuperDS) ⊆ superclasses(classes(SubDS))

The following table gives examples for this.

Domain Specification
Data
Match

sh:targetClass / sh:class

@type

exact match

LodgingBusiness

LodgingBusiness

yes

additional type

LodgingBusiness

LodgingBusiness, Product

yes

sub-type

LodgingBusiness

Motel

yes

no relation

LodgingBusiness

CreativeWork

no

exact match

LodgingBusiness, Product

LodgingBusiness, Product

yes

additional type

LodgingBusiness, Product

LodgingBusiness, Product, CreativeWork

yes

sub-type

LodgingBusiness, Product

Hotel, Product

yes

sub-type

Organization, Place

Restaurant

yes

not all types

LodgingBusiness, Product

LodgingBusiness

no

no relation

LodgingBusiness, Product

CreativeWork

no

PreviousError Entry NodeNextDS-Path

Last updated 3 years ago