{
  "resourceType": "StructureDefinition",
  "url": "https://api-erp.kamsoft.pl/ns/StructureDefinition/PartyRelationship",
  "name": "PartyRelationship",
  "version": "1.0.0",
  "title": "Relacja między stronami (PartyRelationship)",
  "description": "Zasób kanoniczny PartyRelationship — powiązanie PartyFrom → PartyTo w czasie.",
  "kind": "resource",
  "abstract": false,
  "type": "PartyRelationship",
  "baseDefinition": "https://api-erp.kamsoft.pl/ns/StructureDefinition/DomainResource",
  "snapshot": {
    "element": [
      {
        "path": "PartyRelationship.partyFrom",
        "min": 0,
        "max": "1",
        "short": "Strona źródłowa",
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "path": "PartyRelationship.partyTo",
        "min": 0,
        "max": "1",
        "short": "Strona docelowa",
        "type": [
          {
            "code": "Reference"
          }
        ]
      },
      {
        "path": "PartyRelationship.period",
        "min": 0,
        "max": "1",
        "short": "Okres relacji",
        "type": [
          {
            "code": "Period"
          }
        ]
      }
    ]
  }
}