{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Permit", "title": "Permit", "properties": { "partnerId": { "description": "Partner ID (when using the permit-per-partner token sharing model).", "type": "string" }, "profileReference": { "description": "The profile to apply to this permit (when using the shared permits model).", "type": "string" }, "restriction": { "description": "Permit level restriction overrides.", "$ref": "#/components/schemas/PermitRestriction" }, "resultKey": { "description": "The key to link permit requests to permit results.", "type": "string" }, "validTillDate": { "description": "The expiry date for this permit.", "format": "date-time", "type": "string" } }, "type": "object" }