The $ref keyword points to another schema definition.
{"$ref": "#/$defs/id", "$defs": {"id": {"type": "integer"}}}
Use $defs with $ref to avoid duplicating complex schemas.