{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://objectsgrid.com/.well-known/objects-catalog/WarrantyPromise/v1/schema.json",
  "title": "WarrantyPromise",
  "description": "Objects Grid WarrantyPromise Object. Modeled in compliance with https://schema.org/WarrantyPromise",
  "type": "object",
  "properties": {
    "at_type": {
      "description": "The object type",
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "WarrantyPromise"
      ]
    },
    "durationOfWarranty": {
      "description": "The duration of the warranty",
      "anyOf": [
        {
          "$ref": "https://objectsgrid.com/.well-known/objects-catalog/QuantitativeValue/v1/schema.json"
        },
        {
          "type": "null"
        }
      ]
    },
    "warrantyScope": {
      "description": "The scope of the warranty",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "durationOfWarranty"
  ]
}