﻿{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "AllocationItem",
  "title": "1.0.0",
  "version": "1.0.0",
  "type": "object",
  "properties": {
    "type": {
      "description": "Typ alokacji",
      "$ref": "CodeableConcept.schema.json"
    },
    "formulaComponent": {
      "description": "Sk\u0142adnik formu\u0142y",
      "$ref": "Reference.schema.json"
    },
    "costCarrier": {
      "description": "No\u015Bnik koszt\u00F3w",
      "$ref": "Reference.schema.json"
    },
    "weight": {
      "description": "Udzia\u0142 procentowy 0-100",
      "type": "number"
    },
    "valueString": {
      "description": "Wariant 3 (migracja): kody lub @symbol",
      "type": "string"
    }
  },
  "required": [
    "type"
  ]
}