-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathorgs.schema.json
87 lines (87 loc) · 3.06 KB
/
orgs.schema.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Organizations (Orgs)",
"description": "This document describes the fields in the orgs.json file.",
"type": "array",
"items": {
"type": "object",
"required": ["orgShort", "orgType"],
"properties": {
"orgShort": {
"description": "A short name for the organization. Counties should be the county name. Legislative districts should be the LD number, zero-padded if a single digit (ex: 03rd)",
"type": "string"
},
"orgType": {
"description": "A descriptor of the organization type. Expected values are: \"County\", \"LD\", \"State Young\", \"County Young\", \"College Young\", \"HS Young\", \"Caucus\", and \"CD\" (Congressional District). Concatenation of orgShort & orgType & \"Democrats\" (or \"Dems\") should yield a reasonable but sometimes imperfect organization full name.",
"enum": [
"County",
"LD",
"State Young",
"County Young",
"College Young",
"HS Young",
"Caucus",
"CD"
]
},
"orgFull": {
"description": "Full name of the organization (ex: \"1st Legislative District Democrats\" or \"King County Democratic Central Committee\")",
"type": "string"
},
"orgWeb": {
"description": "URL to the organization's public-facing website",
"type": "string",
"format": "uri"
},
"orgFbPage": {
"description": "URL to the organization's Facebook page",
"type": "string",
"format": "uri"
},
"orgFbGroup": {
"description": "URL to the organization's Facebook group",
"type": "string",
"format": "uri"
},
"orgTwAlias": {
"description": "Twitter alias used by the organization (ex: \"43rdDems\" from https://twitter.com/43rdDems)",
"type": "string",
"maxLength": 15
},
"orgOfficers": {
"description": "URL to the organization's list of officers",
"type": "string",
"format": "uri"
},
"orgEvents": {
"description": "URL to the organization's events calendar",
"type": "string",
"format": "uri"
},
"orgRecurring": {
"description": "Day of the organization's recurring meeting (ex: \"1st Mon\" or \"3rd Tue\")",
"type": "string"
},
"orgPCOs": {
"description": "URL to the organization's list of PCOs",
"type": "string",
"format": "uri"
},
"orgBylaws": {
"description": "URL to the organization's governing documents such as a charter, bylaws, or standing rules",
"type": "string",
"format": "uri"
},
"orgBylawsArchive": {
"description": "URL to an archived copy of the organization's governing documents",
"type": "string",
"format": "uri"
},
"orgEndorsements2016": {
"description": "URL to an archived copy of the organization's governing documents",
"type": "string",
"format": "uri"
}
}
}
}