InvalidResource1
property1: One
property3: Three

TestShape
type: PropertyShape
path:
  alternative path: property1
  alternative path: property2
min count: 2
target node: InvalidResource1
target node: InvalidResource2
target node: ValidResource1
target node: ValidResource2
target node: ValidResource3

ValidResource1
property1: One
property1: Two

ValidResource2
property1: One
property2: Two

ValidResource3
property2: One
property2: Two

Test of path sh:alternativePath 001
type: Validate
result: ValidationReport
  conforms: false
  result: ValidationResult
    focus node: InvalidResource1
    result path:
      alternative path: property1
      alternative path: property2
    result severity: Violation
    source constraint component: MinCountConstraintComponent
    source shape: TestShape
  result: ValidationResult
    focus node: InvalidResource2
    result path:
      alternative path: property1
      alternative path: property2
    result severity: Violation
    source constraint component: MinCountConstraintComponent
    source shape: TestShape
status: approved