{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/avetta/json-schema/avetta-1-0-0-controllers-v1-messages-get-supplier-flags-response-schema.json",
  "title": "1.0.0_controllers.v1.messages.GetSupplierFlagsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/avetta-compliance-api-openapi.yml#/components/schemas/1.0.0_controllers.v1.messages.GetSupplierFlagsResponse",
  "type": "object",
  "properties": {
    "totalCount": {
      "type": "integer"
    },
    "flags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/1.0.0_controllers.v1.messages.SupplierFlag"
      }
    }
  },
  "$defs": {
    "1.0.0_controllers.v1.messages.SupplierFlag": {
      "type": "object",
      "properties": {
        "supplierId": {
          "type": "string"
        },
        "supplierName": {
          "type": "string"
        },
        "supplierStatus": {
          "type": "string"
        },
        "siteId": {
          "type": "string"
        },
        "siteName": {
          "type": "string"
        },
        "calculationId": {
          "type": "string"
        },
        "calculationDescription": {
          "type": "string"
        },
        "flagId": {
          "type": "string"
        },
        "flagType": {
          "type": "string"
        },
        "color": {
          "type": "string"
        },
        "isForced": {
          "type": "boolean"
        },
        "forcedBy": {
          "type": "string"
        },
        "varianceStartDate": {
          "type": "string"
        },
        "varianceEndDate": {
          "type": "string"
        },
        "createdDate": {
          "type": "string"
        },
        "updatedDate": {
          "type": "string"
        }
      }
    }
  }
}