يشير $ref إلى تعريف مخطط آخر.
{"$ref": "#/$defs/id", "$defs": {"id": {"type": "integer"}}}
استخدم $defs مع $ref لتجنب التكرار.