{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://objectsgrid.com/.well-known/objects-catalog/ListItem/v1/schema.json",
  "title": "ListItem",
  "description": "Objects Grid ListItem. One entry of an ItemList: the object it lists and its position. Modeled in compliance with https://schema.org/ListItem.",
  "type": "object",
  "required": [
    "item"
  ],
  "properties": {
    "at_type": {
      "description": "The object type",
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "ListItem"
      ]
    },
    "position": {
      "description": "Its position in the list, from 1",
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1
    },
    "item": {
      "description": "The object listed",
      "x-objectsgrid-rangeIncludes": [
        "Accommodation",
        "Brand",
        "Course",
        "Event",
        "Menu",
        "MenuItem",
        "Offer",
        "Organization",
        "Place",
        "Product",
        "ProductGroup",
        "ProductModel",
        "RealEstateListing",
        "Service"
      ],
      "$ref": "https://objectsgrid.com/.well-known/objects-catalog/Reference/v1/schema.json"
    },
    "name": {
      "description": "A name for the entry, when it isn't the object's",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "https://objectsgrid.com/.well-known/objects-catalog/LanguageTaggedString/v1/schema.json"
      }
    },
    "description": {
      "description": "A note on the entry, e.g. why it is a staff pick",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "https://objectsgrid.com/.well-known/objects-catalog/LanguageTaggedString/v1/schema.json"
      }
    },
    "dateAdded": {
      "description": "When it was added to the list. ObjectsGrid's, beyond Schema.org: a wishlist shows what was saved when; left out of JSON-LD documents.",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "x-objectsgrid-extension": true
    }
  }
}
