﻿{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "InventoryDocumentPosition",
  "title": "1.0.0",
  "version": "1.0.0",
  "type": "object",
  "properties": {
    "positionNo": {
      "description": "Numer pozycji",
      "type": "integer"
    },
    "product": {
      "description": "Produkt",
      "$ref": "Reference.schema.json"
    },
    "quantity": {
      "description": "Ilo\u015B\u0107",
      "$ref": "Quantity.schema.json"
    },
    "fromLocation": {
      "description": "Lokalizacja \u017Ar\u00F3d\u0142owa",
      "$ref": "Reference.schema.json"
    },
    "toLocation": {
      "description": "Lokalizacja docelowa",
      "$ref": "Reference.schema.json"
    },
    "attribute": {
      "description": "Atrybuty pozycji",
      "type": "array",
      "items": {
        "$ref": "Attribute.schema.json"
      }
    },
    "status": {
      "description": "Status pozycji",
      "$ref": "CodeableConcept.schema.json"
    }
  }
}