Sha256: 4171c74dd7943dbf4c504fd6749af7ce769c3196d5c0988f119b55caecd21c48

Contents?: true

Size: 1.18 KB

Versions: 4

Compression:

Stored size: 1.18 KB

Contents

{ "type":"object",
  "title": "product",
  "description": "A product in SK",
  "properties":{
    "id":{
      "description": "uuid of the product.",
      "identity":true,
      "readonly":true,
      "type":"string"
    },
    "number":{
      "description": "Unique number assigned by you or if emtpy SK product number schema.",
      "type":"string"
    },
    "name":{
      "description": "The name of the product",
      "type":"string",
      "required":true
    },
    "description":{
      "description": "Product description",
      "type":"string"
    },
    "price":{
      "description": "Net price of a single product",
      "type":"number"
    },
    "tax":{
      "description": "Tax percentage for this product.",
      "type":"number"
    },
    "quantity_unit":{
      "description": "Unit like kg, days, month.",
      "type":"string"
    },
    "created_at":{
      "description": "Date the object was created in SK. Never changes afterwards",
      "format":"date-time",
      "readonly":true,
      "type":"string"
    },
    "updated_at":{
      "description": "Date the object was edited in SK.",
      "format":"date-time",
      "readonly":true,
      "type":"string"
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sk_api_schema-0.0.7 json/v1.0/product.json
sk_api_schema-0.0.6 json/v1.0/product.json
sk_api_schema-0.0.5 json/v1.0/product.json
sk_api_schema-0.0.4 json/v1.0/product.json