{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Agent Friendly evidence submission",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "domain",
    "agent_name",
    "page_url",
    "task",
    "problem",
    "expected",
    "observed",
    "steps",
    "price_context",
    "observed_at"
  ],
  "properties": {
    "domain": {
      "type": "string",
      "maxLength": 253
    },
    "agent_name": {
      "type": "string",
      "maxLength": 80
    },
    "page_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048
    },
    "task": {
      "type": "string",
      "minLength": 1,
      "maxLength": 800
    },
    "problem": {
      "type": "string",
      "minLength": 1,
      "maxLength": 800
    },
    "expected": {
      "type": "string",
      "minLength": 1,
      "maxLength": 800
    },
    "observed": {
      "type": "string",
      "minLength": 1,
      "maxLength": 800
    },
    "steps": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1800
    },
    "price_context": {
      "type": "string",
      "minLength": 1,
      "maxLength": 800
    },
    "observed_at": {
      "type": "string",
      "format": "date-time"
    },
    "followup_consent": {
      "type": "boolean",
      "default": false
    }
  }
}
