com.naturesfieldbook.temp.sighting
A biological record.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | temp.naturesfieldbook.com |
| Indexed |
Checks
Validnullable-and-optionaldefs.location.properties.gridReferencegridReference is both nullable and optional.unlimited-stringdefs.main.record.properties.noteNo maxLength, maxGraphemes or format limits this string.nullable-and-optionaldefs.main.record.properties.deletedAtdeletedAt is both nullable and optional.nullable-and-optionaldefs.main.record.properties.notenote is both nullable and optional.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"location": {
"nullable": [
"gridReference"
],
"properties": {
"accuracyInMeters": {
"type": "integer"
},
"gridReference": {
"maxLength": 12,
"type": "string"
},
"latitude": {
"type": "integer"
},
"longitude": {
"type": "integer"
},
"scaleFactor": {
"type": "integer"
}
},
"required": [
"accuracyInMeters",
"latitude",
"longitude",
"scaleFactor"
],
"type": "object"
},
"main": {
"description": "A biological record.",
"key": "tid",
"record": {
"nullable": [
"deletedAt",
"note"
],
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"deletedAt": {
"format": "datetime",
"type": "string"
},
"location": {
"ref": "#location",
"type": "ref"
},
"moment": {
"format": "datetime",
"type": "string"
},
"note": {
"type": "string"
},
"organismRecords": {
"items": {
"ref": "#organismRecord",
"type": "ref"
},
"type": "array"
},
"tags": {
"items": {
"format": "at-uri",
"type": "string"
},
"type": "array"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"createdAt",
"location",
"moment",
"organismRecords",
"updatedAt"
],
"type": "object"
},
"type": "record"
},
"organismRecord": {
"properties": {
"isSpecimen": {
"default": false,
"type": "boolean"
},
"sex": {
"default": "not-recorded",
"knownValues": [
"both",
"female",
"male",
"not-recorded"
],
"maxLength": 32,
"type": "string"
},
"stage": {
"default": "not-recorded",
"knownValues": [
"first-instar",
"second-instar",
"third-instar",
"fourth-instar",
"fith-instar",
"adult",
"gall",
"larva",
"nymph",
"pupa",
"not-recorded"
],
"maxLength": 64,
"type": "string"
},
"suffix": {
"default": "not-recorded",
"knownValues": [
"aggregate",
"sensu-lato",
"sensu-stricto",
"not-recorded"
],
"maxLength": 64,
"type": "string"
},
"taxon": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"required": [
"taxon"
],
"type": "object"
}
},
"id": "com.naturesfieldbook.temp.sighting",
"lexicon": 1
}