schemas/popolo/organization.json in pupa-0.2.3 vs schemas/popolo/organization.json in pupa-0.2.4
- old
+ new
@@ -1,8 +1,8 @@
{
"$schema": "http://json-schema.org/draft-03/schema#",
- "id": "http://www.popoloproject.com/schemas/organization.json#",
+ "id": "organization.json#",
"title": "Organization",
"description": "A group with a common purpose or reason for existence that goes beyond the set of people belonging to it",
"type": "object",
"properties": {
"id": {
@@ -15,18 +15,18 @@
},
"other_names": {
"description": "Alternate or former names",
"type": "array",
"items": {
- "$ref": "http://www.popoloproject.com/schemas/other_name.json#"
+ "$ref": "other_name.json#"
}
},
"identifiers": {
"description": "Issued identifiers",
"type": "array",
"items": {
- "$ref": "http://www.popoloproject.com/schemas/identifier.json#"
+ "$ref": "identifier.json#"
}
},
"classification": {
"description": "An organization category, e.g. committee",
"type": ["string", "null"]
@@ -35,19 +35,19 @@
"description": "The ID of the organization that contains this organization",
"type": ["string", "null"]
},
"parent": {
"description": "The organization that contains this organization",
- "$ref": "http://www.popoloproject.com/schemas/organization.json#"
+ "$ref": "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://www.popoloproject.com/schemas/area.json#"
+ "$ref": "area.json#"
},
"founding_date": {
"description": "A date of founding",
"type": ["string", "null"],
"pattern": "^[0-9]{4}(-[0-9]{2}){0,2}$"
@@ -64,32 +64,32 @@
},
"contact_details": {
"description": "Means of contacting the organization",
"type": "array",
"items": {
- "$ref": "http://www.popoloproject.com/schemas/contact_detail.json#"
+ "$ref": "contact_detail.json#"
}
},
"links": {
"description": "URLs to documents about the organization",
"type": "array",
"items": {
- "$ref": "http://www.popoloproject.com/schemas/link.json#"
+ "$ref": "link.json#"
}
},
"memberships": {
"description": "Memberships",
"type": "array",
"items": {
- "$ref": "http://www.popoloproject.com/schemas/membership.json#"
+ "$ref": "membership.json#"
}
},
"posts": {
"description": "Posts within the organization",
"type": "array",
"items": {
- "$ref": "http://www.popoloproject.com/schemas/post.json#"
+ "$ref": "post.json#"
}
},
"created_at": {
"description": "The time at which the resource was created",
"type": ["string", "null"],
@@ -102,10 +102,10 @@
},
"sources": {
"description": "URLs to documents from which the organization is derived",
"type": "array",
"items": {
- "$ref": "http://www.popoloproject.com/schemas/link.json#"
+ "$ref": "link.json#"
}
}
}
}