1{
2  "$schema": "http://json-schema.org/draft-04/schema#",
3  "id": "3.3.2-collectionCreatorAgentEmailImplemented.json",
4  "assertionType": "may",
5  "expectedResult": "valid",
6  "onUnexpectedResult" : "passAndContinue",
7  "errorMessage": "Email for Annotation Collection Creator (Agent) not found. Agents may have one or more email values.",
8  "title": "Implements Annotation Collection-level creator (Agent) **_email_ key** with one or more values, each of which is a **mailto: uri** - [model 3.2.2](https://www.w3.org/TR/annotation-model/#agents)",
9  "description": "True when one or more email values for Annotation Collection Creator (Agent) is implemented (Section 3.3.2)",
10  "properties":
11  {  "creator":
12    { "oneOf":
13      [
14      { "$ref": "otherProperties.json#/definitions/agentEmailFound" },
15      { "type": "array",
16        "minItems": 1,
17        "not":
18        { "items": { "not": { "$ref": "otherProperties.json#/definitions/agentEmailFound" } } }
19      }
20      ]
21    }
22  },
23  "required": ["creator"]
24}
25