{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/animgen-com/json-schema/animgen-com-admin-signup-trust-out-schema.json",
  "title": "AdminSignupTrustOut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/animgen-com-admin-api-openapi.yml#/components/schemas/AdminSignupTrustOut",
  "properties": {
    "userId": {
      "type": "string",
      "format": "uuid",
      "title": "Userid"
    },
    "signupTrustTier": {
      "type": "string",
      "title": "Signuptrusttier"
    },
    "currentTrustTier": {
      "type": "string",
      "title": "Currenttrusttier"
    },
    "welcomeCreditStatus": {
      "type": "string",
      "title": "Welcomecreditstatus"
    },
    "reasonCodes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Reasoncodes"
    },
    "rulesetVersion": {
      "type": "string",
      "title": "Rulesetversion"
    },
    "firstAssessedAt": {
      "type": "string",
      "title": "Firstassessedat"
    },
    "assessedAt": {
      "type": "string",
      "title": "Assessedat"
    },
    "trustedAt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trustedat"
    },
    "reviewedAt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reviewedat"
    },
    "updatedAt": {
      "type": "string",
      "title": "Updatedat"
    },
    "latestAssessment": {
      "anyOf": [
        {
          "$ref": "#/$defs/AdminSignupAssessmentOut"
        },
        {
          "type": "null"
        }
      ]
    },
    "welcomeClaim": {
      "anyOf": [
        {
          "$ref": "#/$defs/AdminPromoClaimOut"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [
    "userId",
    "signupTrustTier",
    "currentTrustTier",
    "welcomeCreditStatus",
    "rulesetVersion",
    "firstAssessedAt",
    "assessedAt",
    "updatedAt"
  ],
  "$defs": {
    "AdminPromoClaimOut": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        },
        "campaignKey": {
          "type": "string",
          "title": "Campaignkey"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "decision": {
          "type": "string",
          "title": "Decision"
        },
        "reasonCodes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Reasoncodes"
        },
        "creditLotId": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Creditlotid"
        },
        "grantedAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Grantedat"
        },
        "expiresAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expiresat"
        },
        "updatedAt": {
          "type": "string",
          "title": "Updatedat"
        }
      },
      "type": "object",
      "required": [
        "id",
        "campaignKey",
        "status",
        "decision",
        "updatedAt"
      ],
      "title": "AdminPromoClaimOut"
    },
    "AdminSignupAssessmentOut": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        },
        "authMethod": {
          "type": "string",
          "title": "Authmethod"
        },
        "enforcementMode": {
          "type": "string",
          "title": "Enforcementmode"
        },
        "suggestedDecision": {
          "type": "string",
          "title": "Suggesteddecision"
        },
        "effectiveDecision": {
          "type": "string",
          "title": "Effectivedecision"
        },
        "reasonCodes": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Reasoncodes"
        },
        "emailDomainType": {
          "type": "string",
          "title": "Emaildomaintype"
        },
        "turnstileOutcome": {
          "type": "string",
          "title": "Turnstileoutcome"
        },
        "deviceClaimBucket": {
          "type": "string",
          "title": "Deviceclaimbucket"
        },
        "networkVelocityBucket": {
          "type": "string",
          "title": "Networkvelocitybucket"
        },
        "rulesetVersion": {
          "type": "string",
          "title": "Rulesetversion"
        },
        "createdAt": {
          "type": "string",
          "title": "Createdat"
        }
      },
      "type": "object",
      "required": [
        "id",
        "authMethod",
        "enforcementMode",
        "suggestedDecision",
        "effectiveDecision",
        "emailDomainType",
        "turnstileOutcome",
        "deviceClaimBucket",
        "networkVelocityBucket",
        "rulesetVersion",
        "createdAt"
      ],
      "title": "AdminSignupAssessmentOut"
    }
  }
}