-
Notifications
You must be signed in to change notification settings - Fork 45
/
restricted_content.json
39 lines (36 loc) · 1.24 KB
/
restricted_content.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.0/restricted_content.json",
"title": "A restricted content object.",
"description": "Represents restricted ANS Content objects.",
"type": "object",
"additionalProperties": {},
"properties": {
"type": {
"enum": [ "restricted" ]
},
"_id": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.0/traits/trait_id.json"
},
"restricted_content": {
"$ref": "https://raw.githubusercontent.com/washingtonpost/ans-schema/master/src/main/resources/schema/ans/0.10.0/utils/reference.json"
},
"reasons": {
"type": "array",
"items": {
"type": "object",
"properties": {
"restriction_id": {
"description": "The ARC UUID of the distributor of this content. E.g., ABCDEFGHIJKLMNOPQRSTUVWXYZ.",
"type": "string"
},
"message": {
"description": "The human-readable message describing the restriction.",
"type": "string"
}
}
}
}
},
"required": [ "type", "reasons" ]
}