Sha256: bb0ecb2709f20374be60fca204ce2179d5dfe0314529c67b315cbd191ae25eb5

Contents?: true

Size: 1.52 KB

Versions: 2

Compression:

Stored size: 1.52 KB

Contents

{
  "$schema": "http://json-schema.org/draft-03/schema#",
  "id": "http://popoloproject.com/schemas/area.json#",
  "title": "Area",
  "description": "A geographic area whose geometry may change over time",
  "type": "object",
  "properties": {
    "id": {
      "description": "The area's unique identifier",
      "type": ["string", "null"]
    },
    "name": {
      "description": "A primary name",
      "type": ["string", "null"]
    },
    "identifier": {
      "description": "An issued identifier",
      "type": ["string", "null"]
    },
    "classification": {
      "description": "An area category, e.g. city",
      "type": ["string", "null"]
    },
    "parent_id": {
      "description": "The ID of the area that contains this area",
      "type": ["string", "null"]
    },
    "parent": {
      "description": "The area that contains this area",
      "$ref": "http://popoloproject.com/schemas/area.json#"
    },
    "geometry": {
      "description": "A geometry",
      "type": ["object", "null"]
    },
    "created_at": {
      "description": "The time at which the resource was created",
      "type": ["string", "null"],
      "format": "date-time"
    },
    "updated_at": {
      "description": "The time at which the resource was last modified",
      "type": ["string", "null"],
      "format": "date-time"
    },
    "sources": {
      "description": "URLs to documents from which the area is derived",
      "type": "array",
      "items": {
        "$ref": "http://popoloproject.com/schemas/link.json#"
      }
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pupa-0.1.9 schemas/popolo/area.json
pupa-0.1.8 schemas/popolo/area.json