tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

product.schema.json (1066B)


      1 {
      2  "$schema": "https://json-schema.org/draft/2020-12/schema",
      3  "$id": "product.schema.json",
      4  "title": "Product",
      5  "description": "A product that can be purchased",
      6  "type": "object",
      7  "properties": {
      8    "name": {
      9      "description": "The product's name",
     10      "type": "string"
     11    },
     12    "brand": {
     13      "description": "The product's brand",
     14      "type": "string"
     15    },
     16    "price": {
     17      "description": "The cost of a single unit",
     18      "type": "object",
     19      "properties": {
     20        "value": {
     21          "type": "number"
     22        },
     23        "currency": {
     24          "description": "The currency for the value",
     25          "type": "string"
     26        }
     27      },
     28      "required": ["value"]
     29    },
     30    "shippingCost": {
     31      "description": "The cost of shipping",
     32      "type": "object",
     33      "properties": {
     34        "value": {
     35          "type": "number"
     36        },
     37        "currency": {
     38          "description": "The currency for the value",
     39          "type": "string"
     40        }
     41      },
     42      "required": ["value"]
     43    }
     44  },
     45  "required": ["name"]
     46 }