{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Invoice",
  "title": "Invoice",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The unique ID of this invoice."
    },
    "date": {
      "type": "string",
      "format": "date-time",
      "description": "The date of this invoice."
    },
    "label": {
      "type": "string",
      "description": "The label for this invoice."
    },
    "subtotal": {
      "type": "number",
      "description": "The subtotal amount."
    },
    "tax": {
      "type": "number",
      "description": "The tax amount."
    },
    "total": {
      "type": "number",
      "description": "The total amount."
    }
  }
}