{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://playaconline.com/schemas/messages.schema.json",
  "title": "Play AC Online messages file",
  "description": "Lines a script or another mod can use, by key. A script reads its own with message(\"key\") and another mod's with message(\"author.mod:key\"). This file cannot carry a $schema key, because every key is a line. Point your editor at messages.schema.json in its settings instead. Generated from the mod API spec (https://playaconline.com/schemas/api.json). Do not edit by hand. Reference: https://playaconline.com/modding/reference/files/#messages",
  "type": "object",
  "maxProperties": 256,
  "propertyNames": {
    "pattern": "^[a-z0-9_.-]{1,48}$"
  },
  "additionalProperties": {
    "type": "string",
    "minLength": 1,
    "description": "1 to 400 UTF-8 bytes. Lines wrap by width, not by a count of characters. A row holds 180 pixels of the game's font, which is about 24 letters. Narrow letters like i and l take less room, and wide ones like W and m take more. A page holds 4 rows."
  }
}
