{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://calls.agiscorecard.com/input.schema.json",
  "title": "Call Lens input structure",
  "description": "Structural contract. The engine additionally validates ranges, dates, amounts, uniqueness and cross-field constraints; passing this schema is not a complete validation.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "network",
    "tokenStandard",
    "to",
    "data",
    "nativeValueAtomic",
    "expectedRecipient",
    "maxAtomicAmount"
  ],
  "properties": {
    "network": {
      "type": "string"
    },
    "tokenStandard": {
      "type": "string",
      "enum": [
        "ERC-20",
        "ERC-721",
        "ERC-1155"
      ]
    },
    "to": {
      "type": "string"
    },
    "data": {
      "type": "string"
    },
    "nativeValueAtomic": {
      "type": "string"
    },
    "expectedRecipient": {
      "type": "string"
    },
    "maxAtomicAmount": {
      "type": "string"
    }
  }
}
