{
  "resourceType": "StructureDefinition",
  "url": "https://api-erp.kamsoft.pl/ns/StructureDefinition/AssetComponent",
  "name": "AssetComponent",
  "version": "1.0.0",
  "title": "Składowa majątku",
  "description": "Zasób kanoniczny ESM — składowa środka trwałego: wartości bilansowe i podatkowe, daty, powiązanie z FixedAsset.",
  "kind": "resource",
  "abstract": false,
  "type": "AssetComponent",
  "baseDefinition": "https://api-erp.kamsoft.pl/ns/StructureDefinition/DomainResource",
  "snapshot": {
    "element": [
      {
        "path": "AssetComponent.identifier",
        "min": 0,
        "max": "*",
        "short": "Identyfikatory składowej",
        "type": [
          {
            "code": "Identifier[]"
          }
        ]
      },
      {
        "path": "AssetComponent.fixedAsset",
        "min": 0,
        "max": "1",
        "short": "Środek trwały",
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "path": "AssetComponent.valueBalance",
        "min": 0,
        "max": "1",
        "short": "Wartość — bilans",
        "type": [
          {
            "code": "Money"
          }
        ]
      },
      {
        "path": "AssetComponent.valueTax",
        "min": 0,
        "max": "1",
        "short": "Wartość — podatek",
        "type": [
          {
            "code": "Money"
          }
        ]
      },
      {
        "path": "AssetComponent.acquisitionDate",
        "min": 0,
        "max": "1",
        "short": "Data nabycia",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "AssetComponent.retirementDate",
        "min": 0,
        "max": "1",
        "short": "Data wyłączenia z eksploatacji",
        "type": [
          {
            "code": "String"
          }
        ]
      },
      {
        "path": "AssetComponent.name",
        "min": 0,
        "max": "1",
        "short": "Nazwa",
        "type": [
          {
            "code": "String"
          }
        ]
      }
    ]
  }
}