{
"id": "zone.stratos.defs",
"defs": {
"source": {
"type": "object",
"required": [
"vary",
"subject",
"service"
],
"properties": {
"vary": {
"type": "string",
"maxLength": 128,
"description": "Indicates when hydration is needed. 'authenticated' means full content requires viewer authentication.",
"knownValues": [
"authenticated",
"unauthenticated"
]
},
"service": {
"type": "string",
"format": "did",
"description": "DID of the hydration service, optionally with fragment identifying the service entry (e.g., 'did:plc:abc123#atproto_pns')."
},
"subject": {
"ref": "#subjectRef",
"type": "ref",
"description": "Reference to the full record at the hydration service."
}
},
"description": "Indicates this record requires hydration from an external service. The stub record on the PDS contains minimal data; full content is fetched from the service endpoint."
},
"subjectRef": {
"type": "object",
"required": [
"uri",
"cid"
],
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "CID of the full record content for integrity verification."
},
"uri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the record at the hydration service."
}
},
"description": "A strong reference to a record, including its content hash for verification."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}