{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "World Bookmarks",
  "type": "object",
  "additionalProperties": false,
  "required": ["schemaVersion", "worldId", "bookmarks"],
  "properties": {
    "schemaVersion": {
      "type": "integer",
      "minimum": 1
    },
    "worldId": {
      "type": "string",
      "minLength": 1
    },
    "bookmarks": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": ["id", "label", "x", "y"],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "label": {
            "type": "string",
            "minLength": 1
          },
          "x": {
            "type": "integer"
          },
          "y": {
            "type": "integer"
          }
        }
      }
    }
  }
}
