﻿{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "CostAssignment",
  "title": "1.0.0",
  "version": "1.0.0",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "meta": {
      "$ref": "Meta.schema.json"
    },
    "owner": {
      "type": "array",
      "items": {
        "$ref": "Reference.schema.json"
      }
    },
    "comment": {
      "type": "string"
    },
    "category": {
      "type": "array",
      "items": {
        "$ref": "CodeableConcept.schema.json"
      }
    },
    "status": {
      "$ref": "CodeableConcept.schema.json"
    },
    "type": {
      "$ref": "CodeableConcept.schema.json"
    },
    "contained": {
      "type": "array",
      "items": {
        "$ref": "Object.schema.json"
      }
    },
    "attribute": {
      "type": "array",
      "items": {
        "$ref": "Attribute.schema.json"
      }
    },
    "identifier": {
      "description": "Identyfikatory przypisania",
      "type": "array",
      "items": {
        "$ref": "Identifier.schema.json"
      }
    },
    "costCarrier": {
      "description": "No\u015Bnik koszt\u00F3w",
      "$ref": "Reference.schema.json"
    },
    "date": {
      "description": "Data (dzienna)",
      "type": "string"
    },
    "period": {
      "description": "Okres",
      "$ref": "Period.schema.json"
    },
    "position": {
      "description": "Pozycje przypisania",
      "type": "array",
      "items": {
        "$ref": "CostAssignmentPosition.schema.json"
      }
    }
  }
}