{
  "definitions": {
    "Entity": {
      "description": "Represents an internet population entity",
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Unique id for each entry"
        },
        "place": {
          "type": "integer",
          "minimum": 1,
          "maximum": 64,
          "description": "Position in the top list"
        },
        "region": {
          "type": "string",
          "minLength": 3,
          "maxLength": 64,
          "pattern": "[A-z]+",
          "description": "Name of the region"
        },
        "population": {
          "type": "integer",
          "description": "Complete number of population"
        },
        "users": {
          "type": "integer",
          "description": "Number of internet users"
        },
        "worldUsers": {
          "type": "number",
          "description": "Percentage users of the world"
        },
        "datetime": {
          "type": "string",
          "format": "date-time",
          "description": "Date when the entity was created"
        }
      },
      "required": ["place", "region", "population", "users", "worldUsers"]
    }
  },
  "$ref": "Entity"
}
