{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/financegenius-ai/json-schema/financegenius-ai-security-config-in-schema.json",
  "title": "SecurityConfigIn",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/financegenius-ai-crm-bank-api-openapi.yml#/components/schemas/SecurityConfigIn",
  "properties": {
    "environment": {
      "type": "string",
      "enum": [
        "sandbox",
        "production"
      ],
      "title": "Environment"
    },
    "server_ca_pins": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 8,
      "minItems": 1,
      "title": "Server Ca Pins"
    },
    "client_cert_sha256": {
      "type": "string",
      "maxLength": 95,
      "minLength": 44,
      "title": "Client Cert Sha256"
    },
    "callback_cidrs": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 16,
      "title": "Callback Cidrs"
    },
    "callback_cert_sha256s": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 8,
      "title": "Callback Cert Sha256S"
    },
    "key_windows": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "maxItems": 32,
      "title": "Key Windows"
    },
    "evidence_type": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "lender_email",
            "lender_letter",
            "lender_portal",
            "security_review"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Evidence Type"
    },
    "evidence_sha256": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[0-9a-f]{64}$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Evidence Sha256"
    }
  },
  "type": "object",
  "required": [
    "environment",
    "server_ca_pins",
    "client_cert_sha256"
  ]
}