schemas/popolo/organization.json in pupa-0.0.13 vs schemas/popolo/organization.json in pupa-0.1.0
- old
+ new
@@ -9,12 +9,11 @@
"description": "The organization's unique identifier",
"type": ["string", "null"]
},
"name": {
"description": "A primary name, e.g. a legally recognized name",
- "type": "string",
- "required": true
+ "type": ["string", "null"]
},
"other_names": {
"description": "Alternate or former names",
"type": "array",
"items": {
@@ -37,9 +36,17 @@
"type": ["string", "null"]
},
"parent": {
"description": "The organization that contains this organization",
"$ref": "http://popoloproject.com/schemas/organization.json#"
+ },
+ "area_id": {
+ "description": "The ID of the geographic area to which this organization is related",
+ "type": ["string", "null"]
+ },
+ "area": {
+ "description": "The geographic area to which this organization is related",
+ "$ref": "http://popoloproject.com/schemas/area.json#"
},
"founding_date": {
"description": "A date of founding",
"type": ["string", "null"],
"pattern": "^[0-9]{4}(-[0-9]{2}){0,2}$"