schemas/popolo/post.json in pupa-0.0.13 vs schemas/popolo/post.json in pupa-0.1.0

- old
+ new

@@ -9,13 +9,19 @@ "description": "The post's unique identifier", "type": ["string", "null"] }, "label": { "description": "A label describing the post", - "type": "string", - "required": true + "type": ["string", "null"] }, + "other_label": { + "description": "An alternate label", + "type": "array", + "items": { + "type": "string" + } + }, "role": { "description": "The function that the holder of the post fulfills", "type": ["string", "null"] }, "organization_id": { @@ -23,9 +29,17 @@ "type": ["string", "null"] }, "organization": { "description": "The organization in which the post is held", "$ref": "http://popoloproject.com/schemas/organization.json#" + }, + "area_id": { + "description": "The ID of the geographic area to which this post is related", + "type": ["string", "null"] + }, + "area": { + "description": "The geographic area to which this post is related", + "$ref": "http://popoloproject.com/schemas/area.json#" }, "start_date": { "description": "The date on which the post was created", "type": ["string", "null"], "pattern": "^[0-9]{4}(-[0-9]{2}){0,2}$"