Sha256: 0a318fcad4d1bbceb76f5a099ac85ff3143981c3a8cbc3c3bb5a84723851d822

Contents?: true

Size: 1.32 KB

Versions: 3

Compression:

Stored size: 1.32 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 empty 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"
    },
    "team_id":{
      "description": "A team uuid. If set only the team and its parent teams can see the record.",
      "type":"string"
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sk_api_schema-0.0.10 json/v1.0/product.json
sk_api_schema-0.0.9 json/v1.0/product.json
sk_api_schema-0.0.8 json/v1.0/product.json