{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Feature",
  "description": "A GeoJSON object with the type `Feature` is a feature object.\n\n* A feature object must have a member with the name `geometry`. The value of the geometry member is a geometry object as defined above or a JSON null value.\n\n* A feature object must have a member with the name `properties`. The value of the properties member is an object (any JSON object or a JSON null value).\n\n* If a feature has a commonly used identifier, that identifier should be included as a member of the feature object with the name `id`.",
  "required": ["geometry", "properties"],

  "properties": {

    "type": { "enum": ["Feature"] },

    "geometry": {
      "title": "Geometry",
      "oneOf": [
        { "$ref": "http://edoc-schema.kzn.ru/geo/geometry" },
        { "type": "null" }
      ]
    },

    "properties": {
      "title": "Properties",
      "oneOf": [
        { "type": "object" },
        { "type": "null" }
      ]
    },

    "id": {}

  }
}
