bio.cuanto.survey

An event where participants collect data required by a Survey Protocol.

Repository @cuanto.bio did:plc:dd7efi6wormdpmcyscnkjc6n namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritycuanto.bio
Indexed
cid bafyreibeg2sr22g2f66bcumwxpjpuvt25pl6thpt2parljqjw5aiwcxdqa

Checks

Valid
  • unlimited-string defs.main.record.properties.eventDateNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.record.properties.eventDurationUnitNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.track.properties.sourceNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An event where participants collect data required by a Survey Protocol.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Client-declared timestamp when this survey was originally created.",
            "format": "datetime",
            "type": "string"
          },
          "eventDate": {
            "description": "Date or datetime the survey began, ISO 8601 supporting partial forms (e.g. 2026, 2026-02, 2026-02-03, 2026-02-03T00:01:02Z).",
            "type": "string"
          },
          "eventDurationUnit": {
            "description": "Unit of eventDurationValue (sensu Humboldt eco:eventDurationUnit). Known values: 'minutes', 'hours', 'days'.",
            "type": "string"
          },
          "eventDurationValue": {
            "description": "Duration of the survey in units specified by eventDurationUnit (sensu Humboldt eco:eventDurationValue).",
            "type": "integer"
          },
          "location": {
            "description": "Geographic location where the survey was conducted.",
            "ref": "org.atgeo.place",
            "type": "ref"
          },
          "protocol": {
            "description": "Protocol followed when conducting this survey.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "samplingPerformedBy": {
            "description": "DIDs of participants in addition to the record owner (sensu Humboldt eco:samplingPerformedBy).",
            "items": {
              "format": "did",
              "type": "string"
            },
            "type": "array"
          },
          "surveyorCount": {
            "description": "Total number of people conducting the Survey.",
            "type": "integer"
          },
          "track": {
            "description": "A spatial path recorded during the survey.",
            "ref": "#track",
            "type": "ref"
          }
        },
        "required": [
          "protocol",
          "createdAt",
          "location"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "track": {
      "description": "A spatial path recorded during a survey.",
      "properties": {
        "gpx": {
          "accept": [
            "application/gpx+xml"
          ],
          "description": "GPX 1.1 file recording the survey path.",
          "maxSize": 10000000,
          "type": "blob"
        },
        "source": {
          "description": "Origin of the GPX file.",
          "knownValues": [
            "device",
            "uploaded"
          ],
          "type": "string"
        }
      },
      "required": [
        "gpx",
        "source"
      ],
      "type": "object"
    }
  },
  "id": "bio.cuanto.survey",
  "lexicon": 1
}