{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carboncuretechnologies/json-schema/carboncuretechnologies-test-structure-args-schema.json",
  "title": "TestStructureArgs",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carboncuretechnologies-mycc-end-to-end-testing-api-openapi.yml#/components/schemas/TestStructureArgs",
  "type": "object",
  "properties": {
    "permissionGroup": {
      "$ref": "#/$defs/PermissionGroup"
    },
    "lanes": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/TestStructureLaneArgs"
      }
    },
    "myCCAccount": {
      "$ref": "#/$defs/TestMyCCAccountArgs"
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "Email used to create user with. If no email is provided, a random one is generated."
    }
  },
  "additionalProperties": false,
  "$defs": {
    "E2EDataIntegrationType": {
      "enum": [
        "FileUpload",
        "ApiIntegration",
        "NoData"
      ],
      "type": "string"
    },
    "E2EProjectMixArgs": {
      "type": "object",
      "properties": {
        "mixCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "qcScenario": {
          "$ref": "#/$defs/QcDataScenario"
        },
        "isUserCreated": {
          "type": "boolean"
        },
        "compressiveStrengthMpa": {
          "type": [
            "number",
            "null"
          ],
          "format": "double"
        },
        "hasBaseline": {
          "type": "boolean"
        },
        "isBaselinePaired": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "PermissionGroup": {
      "enum": [
        "Staff",
        "Manager",
        "Admin"
      ],
      "type": "string"
    },
    "ProductionScenario": {
      "enum": [
        "NoData",
        "Lagging",
        "ExceededProductionGoal",
        "SuggestedActions"
      ],
      "type": "string"
    },
    "QcDataScenario": {
      "enum": [
        "Sufficient",
        "Submitted",
        "Limited",
        "NoData"
      ],
      "type": "string"
    },
    "TestDataIntegrationArgs": {
      "type": "object",
      "properties": {
        "type": {
          "$ref": "#/$defs/E2EDataIntegrationType"
        },
        "includeFailure": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "TestMyCCAccountArgs": {
      "type": "object",
      "properties": {
        "hasOnboarding": {
          "type": "boolean"
        },
        "includeAccountReps": {
          "type": "boolean"
        },
        "dataIntegration": {
          "$ref": "#/$defs/TestDataIntegrationArgs"
        },
        "featureFlagNames": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "TestStructureLaneArgs": {
      "type": "object",
      "properties": {
        "installedTimestamp": {
          "type": "string",
          "format": "date-time"
        },
        "grouping": {
          "type": [
            "string",
            "null"
          ]
        },
        "productionScenario": {
          "$ref": "#/$defs/ProductionScenario"
        },
        "batchingSoftware": {
          "type": [
            "string",
            "null"
          ]
        },
        "lynxDownloadedTimestamp": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lastLynxFileSeenTimestamp": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "projectMixes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/E2EProjectMixArgs"
          }
        }
      },
      "additionalProperties": false
    }
  }
}