{
  "$ref": "#/definitions/PopoloContactDetail",
  "definitions": {
    "PopoloContactDetail": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "e.g., email, phone, address, fax, web"
        },
        "value": {
          "type": "string",
          "description": "The contact value, e.g., address text, email address"
        },
        "label": {
          "type": "string",
          "description": "e.g., Constituency office"
        },
        "note": {
          "type": "string"
        },
        "valid_from": {
          "type": "string",
          "description": "YYYY-MM-DD"
        },
        "valid_until": {
          "type": "string",
          "description": "YYYY-MM-DD"
        }
      },
      "required": [
        "type",
        "value"
      ],
      "additionalProperties": false
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}