{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codequiry-com/json-schema/codequiry-com-test-type-list-schema.json",
  "title": "TestTypeList",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codequiry-com-openapi.yml#/components/schemas/TestTypeList",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "test_types": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "features": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "consumption": {
            "type": "integer"
          },
          "peer_only": {
            "type": "boolean"
          },
          "auto_detect_base_code": {
            "type": "boolean"
          },
          "available": {
            "type": "boolean"
          },
          "requires": {
            "type": "string",
            "description": "Present only when `available` is false: what unlocks this engine."
          }
        }
      }
    },
    "user_access": {
      "type": "object",
      "properties": {
        "has_full_access": {
          "type": "boolean"
        },
        "is_pro": {
          "type": "boolean"
        },
        "is_edu_verified": {
          "type": "boolean"
        },
        "is_enterprise": {
          "type": "boolean"
        }
      }
    },
    "default_test_type": {
      "type": "integer"
    },
    "recommended_test_type": {
      "type": "integer"
    },
    "note": {
      "type": "string"
    }
  }
}