﻿{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "AssetComponent",
  "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 sk\u0142adowej",
      "type": "array",
      "items": {
        "$ref": "Identifier.schema.json"
      }
    },
    "fixedAsset": {
      "description": "\u015Arodek trwa\u0142y",
      "$ref": "Reference.schema.json"
    },
    "valueBalance": {
      "description": "Warto\u015B\u0107 \u2014 bilans",
      "$ref": "Money.schema.json"
    },
    "valueTax": {
      "description": "Warto\u015B\u0107 \u2014 podatek",
      "$ref": "Money.schema.json"
    },
    "acquisitionDate": {
      "description": "Data nabycia",
      "type": "string"
    },
    "retirementDate": {
      "description": "Data wy\u0142\u0105czenia z eksploatacji",
      "type": "string"
    },
    "name": {
      "description": "Nazwa",
      "type": "string"
    },
    "description": {
      "description": "Opis",
      "type": "string"
    }
  }
}