{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/miro/json-schema/miro-data-classification-organization-settings-schema.json",
  "title": "DataClassificationOrganizationSettings",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/miro-board-classification-organization-level-api-openapi.yml#/components/schemas/DataClassificationOrganizationSettings",
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Data classification enabled for organization"
    },
    "labels": {
      "type": "array",
      "description": "Data classification labels",
      "items": {
        "$ref": "#/$defs/DataClassificationLabel"
      }
    },
    "type": {
      "type": "string",
      "description": "Type of the object returned.",
      "default": "data-classification-organization-settings"
    }
  },
  "$defs": {
    "DataClassificationLabel": {
      "description": "Data classification label",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Label id."
        },
        "color": {
          "type": "string",
          "description": "Label color."
        },
        "default": {
          "type": "boolean",
          "description": "Label is default."
        },
        "description": {
          "type": "string",
          "description": "Label description."
        },
        "name": {
          "type": "string",
          "description": "Label name."
        },
        "orderNumber": {
          "type": "integer",
          "description": "Label order number.",
          "format": "int32"
        },
        "sharingRecommendation": {
          "type": "string",
          "description": "Sharing Recommendation (one of NO_SHARING_RESTRICTIONS, ONLY_WITHIN_ORGANIZATION, ONLY_WITHIN_TEAM or ONLY_WITH_AUTHORIZED_TEAM_MEMBERS )."
        },
        "guidelineUrl": {
          "type": "string",
          "description": "Indicates the URL for the board classification label guidelines."
        },
        "type": {
          "type": "string",
          "description": "Type of the object returned.",
          "default": "data-classification-label"
        }
      }
    }
  }
}