{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/synthient/json-schema/synthient-account-info-response-schema.json",
  "title": "AccountInfoResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/synthient-account-api-openapi.yml#/components/schemas/AccountInfoResponse",
  "type": "object",
  "properties": {
    "api_key": {
      "$ref": "#/$defs/AccountAPIKey"
    },
    "email": {
      "type": "string"
    },
    "first_name": {
      "type": "string"
    },
    "last_name": {
      "type": "string"
    },
    "lookup_quota": {
      "$ref": "#/$defs/LookupQuota"
    },
    "organization": {
      "$ref": "#/$defs/Organization"
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "first_name",
    "last_name",
    "email",
    "organization",
    "scopes",
    "lookup_quota"
  ],
  "$defs": {
    "AccountAPIKey": {
      "type": "object",
      "properties": {
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "created_at"
      ]
    },
    "LookupQuota": {
      "type": "object",
      "properties": {
        "credits": {
          "type": "integer",
          "format": "int64"
        },
        "resets_in": {
          "type": "integer",
          "format": "int64"
        }
      },
      "required": [
        "credits",
        "resets_in"
      ]
    },
    "Organization": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "relation": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "relation"
      ]
    }
  }
}