{
  "name": "SPECI",
  "version": "1.0.0",
  "description": "SPECI: Aerodrome special meteorological report",
  "extends": "report",
  "identifier": "SPECI",
  "tokens": {
    "datetime": {
      "pattern": "^\\d{6}Z$",
      "category": "datetime",
      "description": "Day and time UTC",
      "validator": "DDHHmmZ",
      "placeholder": {
        "value": "000000Z",
        "editable": [
          {
            "start": 0,
            "end": 6,
            "defaultsFunction": "() => { const now = new Date(); const d = String(now.getUTCDate()).padStart(2,'0'); const h = String(now.getUTCHours()).padStart(2,'0'); const m = String(now.getUTCMinutes()).padStart(2,'0'); return [d+h+m]; }"
          }
        ]
      }
    }
  }
}
