Revision 95a4dac471e2eb2811555819a623676b597b5997 authored by kritisingh1 on 14 March 2018, 19:47:02 UTC, committed by kritisingh1 on 14 March 2018, 19:47:02 UTC
1 parent 4fa2165
Raw File
exampleTarget.json
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Check if target feature implemented",
  "description": "'There must be 1 or more target relationships associated with an Annotation.' (Section 3.1)",
  "assertionType": "must",
  "expectedResult": "valid",
  "errorMessage": "Error: Annotation has no target relationships - at least 1 is required. (Section 3.1)",
  "type": "object",
  "properties": {
    "target": { "type": ["string", "array", "object"] }
  },
  "required": ["target"]
}
back to top