{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/condux-ai/json-schema/condux-ai-linear-project-status-response-schema.json",
  "title": "LinearProjectStatusResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/condux-ai-linear-api-openapi.yml#/components/schemas/LinearProjectStatusResponse",
  "required": [
    "connected",
    "workspaceName",
    "broken",
    "mapping",
    "autoCreatedToday",
    "autoCreateDailyLimit"
  ],
  "type": "object",
  "properties": {
    "connected": {
      "type": "boolean"
    },
    "workspaceName": {
      "type": [
        "string",
        "null"
      ]
    },
    "broken": {
      "type": "boolean"
    },
    "mapping": {
      "oneOf": [
        {
          "enum": [
            null
          ]
        },
        {
          "$ref": "#/$defs/LinearMappingResponse"
        }
      ]
    },
    "autoCreatedToday": {
      "type": "integer",
      "format": "int32"
    },
    "autoCreateDailyLimit": {
      "type": "integer",
      "format": "int32"
    }
  },
  "$defs": {
    "LinearMappingLabelResponse": {
      "required": [
        "id",
        "name"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "LinearMappingResponse": {
      "required": [
        "teamId",
        "teamName",
        "needsAttention",
        "autoCreate",
        "labels"
      ],
      "type": "object",
      "properties": {
        "teamId": {
          "type": "string"
        },
        "teamName": {
          "type": "string"
        },
        "needsAttention": {
          "type": "boolean"
        },
        "autoCreate": {
          "type": "boolean"
        },
        "labels": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LinearMappingLabelResponse"
          }
        }
      }
    }
  }
}