{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentisend-com/json-schema/agentisend-com-get-account-reply-schema.json",
  "title": "GetAccountReply",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentisend-com-accounts-api-openapi.yml#/components/schemas/GetAccountReply",
  "properties": {
    "agent_signup": {
      "anyOf": [
        {
          "properties": {
            "agent_name": {
              "type": "string"
            },
            "confirmed": {
              "type": "boolean"
            }
          },
          "required": [
            "agent_name",
            "confirmed"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "approval_reason": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      "type": "string"
    },
    "id": {
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "type": "string"
    },
    "is_review_account": {
      "type": "boolean"
    },
    "name": {
      "type": "string"
    },
    "onboarding": {
      "properties": {
        "checklist_dismissed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "company": {
          "type": "string"
        },
        "completed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "connect_agent_moment_due": {
          "type": "boolean"
        },
        "contact_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "expected_volume": {
          "anyOf": [
            {
              "enum": [
                "under_30k",
                "30k_100k",
                "100k_1m",
                "over_1m"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "use_cases": {
          "items": {
            "enum": [
              "transactional",
              "product_lifecycle",
              "ai_agents"
            ],
            "type": "string"
          },
          "type": "array"
        },
        "website": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "website_domain": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "contact_name",
        "company",
        "website",
        "website_domain",
        "use_cases",
        "expected_volume",
        "completed_at",
        "checklist_dismissed_at",
        "connect_agent_moment_due"
      ],
      "type": "object"
    },
    "onboarding_sender": {
      "anyOf": [
        {
          "properties": {
            "delivered_from": {
              "description": "The address the test arrives from.",
              "type": "string"
            },
            "from": {
              "description": "The address to send from: onboarding@agentisend.com.",
              "type": "string"
            }
          },
          "required": [
            "from",
            "delivered_from"
          ],
          "type": "object"
        },
        {
          "type": "null"
        }
      ]
    },
    "postal_address": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "status": {
      "enum": [
        "sandboxed",
        "approved",
        "suspended"
      ],
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "status",
    "approval_reason",
    "created_at",
    "is_review_account",
    "onboarding_sender",
    "onboarding",
    "postal_address",
    "agent_signup"
  ],
  "type": "object"
}