{
  "title": "Label Group (v1.0.0)",
  "description": "A map that defines labels for the items in a group. This is a map from each item *name* &rarr; *a [`labelItem`](#schema-labelitem) object*. For example, consider a JSON response that includes a property named `revenueEstimate`; the values for `revenueEstimate` must be one of the items in the group named `estimatedAnnualRevenue`, with options ranging `under1Million`, to `over100Million`. The item name is used as the selected value in an Apiture representation, such as `{ ..., \"revenueEstimate\" : \"from10to100Million\" , ...}`, and the item with the name `from10to100Million` defines the presentation labels for that item, as well as other metadata about that choice: this is the range `[10000000.00,100000000.00)`.\n\nThis allows the client to let the user select a value from a list, such as the following derivde from the labels in the example:\n\n  * Unknown\n  * Under $1M\n  * $1M to $10M\n  * $10M to $100M\n  * $100M or more\n\nNote that the `other` item is hidden from the selection list, as that item is marked as `hidden`. For items which define numeric ranges, a client may instead let the customer *directly* enter their estimated annual revenue as a number, such as 4,500,000.00. The client can then match that number to one of ranges in the items and set the `revenueEstimate` to the corresponding item's name: `{ ..., \"revenueEstimate\" : \"from1to10Million\", ... }`.",
  "x-apiture-key": "labelName",
  "x-apiture-version": "1.0.0",
  "additionalProperties": {
    "$ref": "https://production.api.apiture.com/schemas/common/labelItem/v1.0.0/model.json"
  },
  "example": {
    "unknown": {
      "label": "Unknown",
      "code": "0",
      "hidden": true
    },
    "under1Million": {
      "label": "Under $1M",
      "code": "1",
      "range": "[0,1000000.00)",
      "variants": {
        "fr": {
          "label": "Moins de $1M"
        }
      }
    },
    "from1to10Million": {
      "label": "$1M to $10M",
      "code": "2",
      "range": "[1000000.00,10000000.00)",
      "variants": {
        "fr": {
          "label": "$1M \\u00e0 $10M"
        }
      }
    },
    "from10to100Million": {
      "label": "$10M to $100M",
      "code": "3",
      "range": "[10000000.00,100000000.00)",
      "variants": {
        "fr": [
          "label $10M \\u00e0 $100M"
        ]
      }
    },
    "over100Million": {
      "label": "Over $100,000,000.00",
      "code": "4",
      "range": "[100000000.00,]",
      "variants": {
        "fr": {
          "label": "Plus de $10M"
        }
      }
    },
    "other": {
      "label": "Other",
      "code": 254
    }
  }
}