﻿{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "FixedAsset",
  "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 \u015Brodka",
      "type": "array",
      "items": {
        "$ref": "Identifier.schema.json"
      }
    },
    "quantity": {
      "description": "Ilo\u015B\u0107",
      "$ref": "Quantity.schema.json"
    },
    "acquisitionDate": {
      "description": "Data nabycia",
      "type": "string"
    },
    "acceptanceDate": {
      "description": "Data przyj\u0119cia",
      "type": "string"
    },
    "liquidationDate": {
      "description": "Data likwidacji",
      "type": "string"
    },
    "initialValueBalance": {
      "description": "Warto\u015B\u0107 pocz\u0105tkowa \u2014 bilans",
      "$ref": "Money.schema.json"
    },
    "initialValueTax": {
      "description": "Warto\u015B\u0107 pocz\u0105tkowa \u2014 podatek",
      "$ref": "Money.schema.json"
    },
    "accumulatedDepreciationBalance": {
      "description": "Skumulowany umorzenie \u2014 bilans",
      "$ref": "Money.schema.json"
    },
    "accumulatedDepreciationTax": {
      "description": "Skumulowany umorzenie \u2014 podatek",
      "$ref": "Money.schema.json"
    },
    "bookValueBalance": {
      "description": "Warto\u015B\u0107 ksi\u0119gowa \u2014 bilans",
      "$ref": "Money.schema.json"
    },
    "bookValueTax": {
      "description": "Warto\u015B\u0107 ksi\u0119gowa \u2014 podatek",
      "$ref": "Money.schema.json"
    },
    "depreciationRateBalance": {
      "description": "Stawka amortyzacji \u2014 bilans",
      "type": "number"
    },
    "depreciationRateTax": {
      "description": "Stawka amortyzacji \u2014 podatek",
      "type": "number"
    },
    "depreciationTypeBalance": {
      "description": "Metoda amortyzacji \u2014 bilans",
      "$ref": "CodeableConcept.schema.json"
    },
    "depreciationTypeTax": {
      "description": "Metoda amortyzacji \u2014 podatek",
      "$ref": "CodeableConcept.schema.json"
    },
    "name": {
      "description": "Nazwa",
      "type": "string"
    },
    "text": {
      "description": "Tekst",
      "type": "string"
    }
  }
}