{
"id": "bio.cuanto.surveyTarget",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"protocol",
"protocolTargetID",
"createdAt",
"scope"
],
"properties": {
"scope": {
"type": "array",
"items": {
"refs": [
"bio.cuanto.protocolTarget#taxonScope",
"bio.cuanto.protocolTarget#verbatimScope"
],
"type": "union"
},
"minLength": 1,
"description": "One or more scope criteria copied from the source protocolTarget."
},
"protocol": {
"type": "string",
"format": "at-uri",
"description": "The Protocol this target was adopted from."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp when the surveyor materialized this target. Used to determine whether the surveyor knew about this target when a survey was conducted."
},
"retiredAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when the target's source protocolTarget was removed from the protocol, after which it no longer implies a non-detection. Absent while the target is still part of the protocol."
},
"protocolTargetID": {
"type": "string",
"format": "at-uri",
"description": "Provenance link to the protocol author's source protocolTarget (bio.cuanto.protocolTarget) this was copied from."
}
}
},
"description": "A surveyor's copy of a protocol's target, created when the surveyor adopts a Protocol. Carries its own copy of the target scope so what was sought stays durable and under the surveyor's control even if the protocol author deletes the Protocol. Occurrences reference these via surveyTargetID."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}