{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://axis.efeonce.org/agents/resources/docs/agent-composition/agent-social-intent.schema.json",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "schema": {
      "const": "axis.agent-social.v1"
    },
    "question": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "answer": {
      "type": "string",
      "minLength": 1,
      "maxLength": 30,
      "pattern": "^\\S+(?:\\s+\\S+){0,2}$"
    },
    "photo": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "Local raster path relative to this JSON file. No network URLs."
    },
    "alt": {
      "type": "string",
      "minLength": 1,
      "maxLength": 240
    }
  },
  "required": [
    "schema",
    "question",
    "answer",
    "photo",
    "alt"
  ]
}
