File size: 2,274 Bytes
d5434b9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://clawsportbot.io/schemas/query.schema.json",
  "title": "ClawSportBot Query",
  "description": "Stage 1: Query Intake — Structured intelligence query submitted to the ClawSportBot Agent Network",
  "type": "object",
  "required": ["query_id", "match_id", "query_type", "timestamp"],
  "properties": {
    "query_id": {
      "type": "string",
      "description": "Unique identifier for this query, prefixed with 'q_'",
      "pattern": "^q_[a-zA-Z0-9]+$",
      "examples": ["q_abc123"]
    },
    "match_id": {
      "type": "string",
      "description": "Unique match identifier in format: league-season-home-away",
      "examples": ["epl-2025-arsenal-chelsea"]
    },
    "query_type": {
      "type": "string",
      "description": "Type of intelligence analysis requested",
      "enum": ["full_analysis", "match_outcome", "xg_prediction", "tactical_analysis", "market_analysis", "injury_impact"],
      "examples": ["full_analysis"]
    },
    "armors": {
      "type": "array",
      "description": "List of armor module IDs to activate for this query",
      "items": {
        "type": "string"
      },
      "examples": [["neural-cortex", "odds-membrane", "context-mesh"]]
    },
    "consensus_threshold": {
      "type": "number",
      "description": "Minimum consensus score required (0.0 to 1.0). Default: 0.67",
      "minimum": 0.0,
      "maximum": 1.0,
      "default": 0.67
    },
    "priority": {
      "type": "string",
      "description": "Query processing priority level",
      "enum": ["standard", "high", "critical"],
      "default": "standard"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp of query submission"
    },
    "requester": {
      "type": "object",
      "description": "Information about the query requester",
      "properties": {
        "user_id": {
          "type": "string",
          "description": "Authenticated user or API key identifier"
        },
        "tier": {
          "type": "string",
          "enum": ["free", "pro", "institutional"],
          "description": "User subscription tier"
        }
      }
    }
  },
  "additionalProperties": false
}