{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://objectsgrid.com/.well-known/objects-catalog/PropertyValue/v1/schema.json",
  "title": "PropertyValue",
  "description": "Objects Grid PropertyValue Object. Modeled in compliance with https://schema.org/PropertyValue",
  "type": "object",
  "properties": {
    "at_type": {
      "description": "The object type",
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "PropertyValue"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "propertyID": {
      "description": "A commonly used identifier for the characteristic represented by the property, e.g. a manufacturer or a standard code for a property.",
      "type": [
        "string",
        "null"
      ],
      "minLength": 1
    },
    "name": {
      "description": "The name of the property",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "https://objectsgrid.com/.well-known/objects-catalog/LanguageTaggedString/v1/schema.json"
      }
    },
    "valueText": {
      "description": "Text value of the property",
      "type": [
        "string",
        "null"
      ]
    },
    "valueNumber": {
      "description": "Numeric value of the property",
      "type": [
        "number",
        "null"
      ]
    },
    "valueBoolean": {
      "description": "Boolean value of the property",
      "type": [
        "boolean",
        "null"
      ]
    },
    "valueDateTime": {
      "description": "Date-time value of the property",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "unitCode": {
      "description": "The unit of measurement given using the UN/CEFACT Common Code (3 characters) or URL.",
      "type": [
        "string",
        "null"
      ]
    },
    "unitText": {
      "description": "A string or text indicating the unit of measurement.",
      "type": [
        "string",
        "null"
      ]
    },
    "minValue": {
      "description": "The lower value of some characteristic or property.",
      "type": [
        "number",
        "null"
      ]
    },
    "maxValue": {
      "description": "The upper value of some characteristic or property.",
      "type": [
        "number",
        "null"
      ]
    },
    "valueReference": {
      "description": "A pointer to a secondary value that provides additional information.",
      "x-objectsgrid-rangeIncludes": [],
      "anyOf": [
        {
          "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Reference/v1/schema.json"
        },
        {
          "type": "null"
        }
      ]
    }
  }
}
