{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phala/json-schema/phala-app-kms-info-response-schema.json",
  "title": "AppKmsInfoResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phala-apps-kms-info-api-openapi.yml#/components/schemas/AppKmsInfoResponse",
  "properties": {
    "is_onchain_kms": {
      "type": "boolean",
      "title": "Is Onchain Kms",
      "default": false
    },
    "chain_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Chain Id"
    },
    "kms_contract_address": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Kms Contract Address"
    },
    "app_contract_address": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "App Contract Address"
    },
    "deployer_address": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Deployer Address"
    },
    "deployer_type": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "eoa",
            "safe",
            "legacy_multisig",
            "erc4337",
            "contract"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Deployer Type"
    },
    "is_contract": {
      "type": "boolean",
      "title": "Is Contract",
      "default": false
    },
    "safe_app_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Safe App Url"
    }
  },
  "type": "object"
}