{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:OwnershipInfo",
  "title": "OwnershipInfo",
  "description": "A structured value providing information about when a certain organization or person owned a certain product.",
  "type": "object",
  "allOf": [
    {
      "description": "Structured values are used when the value of a property has a more complex structure than simply being a textual value or a reference to another thing.",
      "$ref": "schema:StructuredValue"
    }
  ],
  "properties": {
    "acquiredFrom": {
      "description": "The organization or person from which the product was acquired.",
      "anyOf": [{ "$ref": "schema:Organization" }, { "$ref": "schema:Person" }]
    },
    "ownedFrom": {
      "description": "The date and time of obtaining the product.",
      "type": "string",
      "format": "date-time"
    },
    "ownedThrough": {
      "description": "The date and time of giving up ownership on the product.",
      "type": "string",
      "format": "date-time"
    },
    "typeOfGood": {
      "description": "The product that this structured value is referring to.",
      "anyOf": [{ "$ref": "schema:Product" }, { "$ref": "schema:Service" }]
    }
  }
}
