ListShape
type: NodeShape
max list length: 2
target node: list0
target node: nil
target node: list1
target node: notAList

list0
first: 1
rest: 2

list1
first: 1
rest: 2
rest: 3

Test of sh:maxListLength on node shape 001
type: Validate
result: ValidationReport
  conforms: false
  result: ValidationResult
    focus node: list1
    result severity: Violation
    source constraint component: MaxListLengthConstraintComponent
    source shape: ListShape
    value: list1
  result: ValidationResult
    focus node: notAList
    result severity: Violation
    source constraint component: MaxListLengthConstraintComponent
    source shape: ListShape
    value: notAList
status: approved