{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/responsibleailabs-ai/json-schema/responsibleailabs-ai-get-railscore-v1-config-response-schema.json",
  "title": "GetRailscoreV1ConfigResponse",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/responsibleailabs-ai-openapi-generated.yml#/components/schemas/GetRailscoreV1ConfigResponse",
  "type": "object",
  "properties": {
    "application": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "environment": {
          "type": "string"
        },
        "organization": {
          "type": "string"
        },
        "plan": {
          "type": "string"
        }
      }
    },
    "policy": {
      "type": "object",
      "properties": {
        "enforcement": {
          "type": "string"
        },
        "evalMode": {
          "type": "string"
        },
        "overallThreshold": {
          "type": "number"
        },
        "domain": {
          "type": "string"
        },
        "dimensionThresholds": {
          "type": "object",
          "properties": {
            "Safety": {
              "type": "integer"
            }
          }
        },
        "dimensionWeights": {
          "type": "object",
          "properties": {
            "Safety": {
              "type": "integer"
            }
          }
        },
        "compliance": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "safeRegenerate": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "maxAttempts": {
              "type": "integer"
            },
            "fallback": {
              "type": "string"
            }
          }
        },
        "locked": {
          "type": "boolean"
        }
      }
    },
    "enforcement": {
      "type": "object",
      "properties": {
        "active": {
          "type": "boolean"
        },
        "mode": {
          "type": "string"
        }
      }
    }
  }
}