{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://manmuldogam.com/ai/schema/item.schema.json",
 "title": "만물도감 물건 기록",
 "type": "object",
 "required": [
  "id",
  "type",
  "name",
  "provenance",
  "license"
 ],
 "properties": {
  "id": {
   "type": "string",
   "pattern": "^(dogam|wikidata):[A-Za-z0-9_-]+$",
   "description": "바뀌지 않는 번호"
  },
  "type": {
   "const": "PhysicalItem"
  },
  "name": {
   "type": "object",
   "required": [
    "ko"
   ],
   "properties": {
    "ko": {
     "type": "string"
    },
    "en": {
     "type": [
      "string",
      "null"
     ]
    }
   }
  },
  "alternate_names": {
   "type": "object"
  },
  "category": {
   "type": "object"
  },
  "description_ko": {
   "type": [
    "string",
    "null"
   ]
  },
  "use_cases_ko": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "check_before_buying_ko": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "attributes": {
   "type": "object",
   "description": "head/body/end/form/gender/size/material/inout 값 목록"
  },
  "dimensions_mm": {
   "type": [
    "object",
    "null"
   ]
  },
  "page": {
   "type": "string",
   "format": "uri"
  },
  "same_as": {
   "type": "string",
   "format": "uri"
  },
  "provenance": {
   "type": "object",
   "required": [
    "verified",
    "updated"
   ],
   "properties": {
    "verified": {
     "type": "boolean"
    },
    "updated": {
     "type": "string"
    },
    "source": {
     "type": "string"
    }
   }
  },
  "license": {
   "type": "string"
  }
 }
}