{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sendgrid/main/json-schema/sendgrid-account-provisioning-state-write-schema.json",
  "title": "StateWrite",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendgrid-account-state-api-openapi.yml#/components/schemas/AccountProvisioningStateWrite",
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "description": "The state of the account (e.g., `activated`, `deactivated`)",
      "$ref": "#/$defs/State1"
    }
  },
  "required": [
    "state"
  ],
  "$defs": {
    "State1": {
      "type": "string",
      "enum": [
        "activated",
        "deactivated"
      ]
    }
  }
}