{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rehearse.kurvball.ca/schema/v1/stage.schema.json",
  "title": "Rehearse v1: rehearse stage --json",
  "description": "Where the stage is, once it is up. The command keeps running until it is stopped.",
  "type": "object",
  "required": ["v", "url", "port", "pid"],
  "properties": {
    "v": { "$ref": "common.schema.json#/$defs/v" },
    "url": { "description": "The stage's address, on 127.0.0.1 only.", "type": "string" },
    "port": { "type": "integer", "minimum": 1, "maximum": 65535 },
    "pid": { "description": "The stage's process: stop it with kill on this.", "type": "integer" }
  }
}
