at.skeetfighter.score

A scoring attempt: a run's score up to a game over, a clear, a quit, or the moment a continue reset the score.

Repository @skeetfighter.at did:plc:xa2u22z7m4qgaaxxy3kjyqs4 namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityskeetfighter.at
Commit rev3n32nshacqy2o
Indexed
cid bafyreigvjb4vy3mdaxwlgat45evhfhageqd4fywibadiichpg6po6tgn7a

Checks

Valid
  • unlimited-string defs.main.record.properties.outcomeNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.match.properties.roleNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "cpu": {
      "properties": {
        "archetype": {
          "knownValues": [
            "rushdown",
            "zoner",
            "turtle",
            "wildcard"
          ],
          "maxLength": 32,
          "type": "string"
        },
        "behaviour": {
          "knownValues": [
            "normal",
            "still",
            "block"
          ],
          "maxLength": 32,
          "type": "string"
        },
        "level": {
          "maximum": 10,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "behaviour",
        "archetype",
        "level"
      ],
      "type": "object"
    },
    "main": {
      "description": "A scoring attempt: a run's score up to a game over, a clear, a quit, or the moment a continue reset the score.",
      "key": "tid",
      "record": {
        "properties": {
          "continuesUsed": {
            "description": "Continues used so far in the run.",
            "minimum": 0,
            "type": "integer"
          },
          "createdAt": {
            "description": "When the attempt ended.",
            "format": "datetime",
            "type": "string"
          },
          "durationSeconds": {
            "description": "Fight time in this attempt.",
            "minimum": 0,
            "type": "integer"
          },
          "fighter": {
            "description": "The account whose fighter the player used.",
            "format": "did",
            "type": "string"
          },
          "gameVersion": {
            "description": "Game version and short commit, e.g. 1.0.0+e5d5c42. A replay checker runs the game code at that commit.",
            "maxLength": 32,
            "type": "string"
          },
          "matches": {
            "description": "Every match fought in this attempt, in order.",
            "items": {
              "ref": "#match",
              "type": "ref"
            },
            "maxLength": 16,
            "type": "array"
          },
          "outcome": {
            "description": "How the attempt ended: beat the final boss, game over, banked just before a continue reset the score, or quit from the pause menu.",
            "knownValues": [
              "cleared",
              "gameOver",
              "continued",
              "quit"
            ],
            "type": "string"
          },
          "perfects": {
            "description": "Rounds won without taking damage.",
            "minimum": 0,
            "type": "integer"
          },
          "replay": {
            "accept": [
              "application/octet-stream"
            ],
            "description": "Player 1's button presses for every match, in the SF2R format (see lexicons/README.md).",
            "maxSize": 1000000,
            "type": "blob"
          },
          "runId": {
            "description": "A TID shared by every attempt in one arcade run.",
            "maxLength": 32,
            "type": "string"
          },
          "score": {
            "description": "Points scored in this attempt.",
            "maximum": 99999999,
            "minimum": 0,
            "type": "integer"
          },
          "segment": {
            "description": "Which attempt within the run (0 = first).",
            "minimum": 0,
            "type": "integer"
          },
          "supersLanded": {
            "description": "Supers that hit.",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "score",
          "outcome",
          "runId",
          "fighter",
          "matches",
          "gameVersion",
          "replay",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "match": {
      "description": "One match in an attempt, with what is needed to replay it exactly.",
      "properties": {
        "frames": {
          "description": "Simulation steps the match took.",
          "minimum": 0,
          "type": "integer"
        },
        "opponent": {
          "description": "The account whose fighter was the opponent.",
          "format": "did",
          "type": "string"
        },
        "role": {
          "description": "The opponent's place on the arcade ladder.",
          "knownValues": [
            "regular",
            "boss",
            "finalBoss"
          ],
          "type": "string"
        },
        "score": {
          "description": "Points from this match.",
          "minimum": 0,
          "type": "integer"
        },
        "seed": {
          "description": "The match's random seed (32-bit).",
          "minimum": 0,
          "type": "integer"
        },
        "setup": {
          "ref": "#matchSetup",
          "type": "ref"
        },
        "stage": {
          "description": "The stage's name.",
          "maxLength": 64,
          "type": "string"
        },
        "won": {
          "description": "Whether the player won the match.",
          "type": "boolean"
        }
      },
      "required": [
        "opponent",
        "won",
        "role",
        "score",
        "seed",
        "frames",
        "setup"
      ],
      "type": "object"
    },
    "matchSetup": {
      "description": "Everything besides player 1's presses that the fight simulation and the CPU read.",
      "properties": {
        "cpu": {
          "description": "The CPU opponent; absent means player 2 was human.",
          "ref": "#cpu",
          "type": "ref"
        },
        "introFrames": {
          "description": "Frames before inputs count each round.",
          "minimum": 0,
          "type": "integer"
        },
        "outroFrames": {
          "description": "Frames after a K.O. or time over.",
          "minimum": 0,
          "type": "integer"
        },
        "roundTime": {
          "description": "Seconds per round; absent means no time limit.",
          "minimum": 1,
          "type": "integer"
        },
        "scales": {
          "description": "Each fighter's size in percent.",
          "items": {
            "minimum": 1,
            "type": "integer"
          },
          "maxLength": 2,
          "minLength": 2,
          "type": "array"
        },
        "stageW": {
          "description": "The stage's width in pixels.",
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "introFrames",
        "outroFrames",
        "scales",
        "stageW"
      ],
      "type": "object"
    }
  },
  "description": "One saved scoring attempt in Skeet Fighter II arcade mode, by the account that owns the record.",
  "id": "at.skeetfighter.score",
  "lexicon": 1
}