{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Humans on Standby draft request input",
  "description": "Prototype input only. No submission endpoint is currently available. Required free-text fields must have at least 10 characters after trimming whitespace.",
  "type": "object",
  "properties": {
    "goal": {"type": "string", "minLength": 10, "maxLength": 1500, "pattern": "\\S(?:[\\s\\S]{8,})\\S"},
    "help_type": {"type": "string", "enum": ["physical_presence", "human_perspective", "collaboration"]},
    "human_needed": {"type": "string", "minLength": 10, "maxLength": 1500, "pattern": "\\S(?:[\\s\\S]{8,})\\S"},
    "location": {"type": "string", "maxLength": 200},
    "timing": {"type": "string", "maxLength": 200},
    "constraints": {"type": "string", "maxLength": 1500},
    "reply_route": {"type": "string", "maxLength": 250}
  },
  "required": ["goal", "help_type", "human_needed"],
  "additionalProperties": false
}
