{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://digitalbeesonline.com/agents/enquiry.schema.json",
  "title": "Digital Bees agent enquiry",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "requester_type",
    "requester_name",
    "requester_email",
    "brand_name",
    "target_country",
    "marketplace",
    "required_service",
    "objective",
    "consent_to_contact"
  ],
  "properties": {
    "requester_name": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
    },
    "requester_email": {
      "type": "string",
      "maxLength": 254,
      "minLength": 1,
      "format": "email"
    },
    "organization_name": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
    },
    "organization_website": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1,
      "format": "uri",
      "pattern": "^https?://"
    },
    "brand_name": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
    },
    "category": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
    },
    "target_country": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
    },
    "marketplace": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
    },
    "approximate_monthly_gmv": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
    },
    "required_service": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
    },
    "current_problem": {
      "type": "string",
      "maxLength": 4000,
      "minLength": 1
    },
    "objective": {
      "type": "string",
      "maxLength": 4000,
      "minLength": 1
    },
    "timeline": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
    },
    "preferred_contact_email": {
      "type": "string",
      "maxLength": 254,
      "minLength": 1,
      "format": "email"
    },
    "additional_context": {
      "type": "string",
      "maxLength": 4000,
      "minLength": 1
    },
    "agent_name": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
    },
    "agent_platform": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
    },
    "agent_version": {
      "type": "string",
      "maxLength": 300,
      "minLength": 1
    },
    "source_url": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1,
      "format": "uri",
      "pattern": "^https?://"
    },
    "request_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
    },
    "requester_type": {
      "type": "string",
      "enum": [
        "human",
        "agent"
      ]
    },
    "sku_count": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10000000
    },
    "consent_to_contact": {
      "type": "boolean",
      "const": true
    }
  }
}
