Skip to content

Latest commit

 

History

History
143 lines (137 loc) · 11.3 KB

File metadata and controls

143 lines (137 loc) · 11.3 KB

Field sets

Several endpoints supports specifying which fields in an observation you want to retrieve using the fields and fieldSet parameter. There are four predefined field sets to choose from.

Minimum

Field Type Example
Record level
  datasetName string "Artportalen"
Occurrence
  occurrence.occurrenceId string "urn:lsid:artportalen.se:Sighting:3921008"
  occurrence.occurrenceStatus VocabularyValue<occurrenceStatus> { "id":0, "value":"present" }
  occurrence.recordedBy string "Ove Sinatra"
  occurrence.reportedBy string "Dennis Alnér"
  occurrence.individualCount string "1"
  occurrence.organismQuantity string "1"
  occurrence.organismQuantityInt int32 1
  occurrence.organismQuantityUnit VocabularyValue<unit> { "id":1, "value":"plantor/tuvor" }
Event
  event.startDate DateTime? "2008-07-07T11:00:00+02:00"
  event.endDate DateTime? "2008-07-07T12:30:00+02:00"
Identification
  identification.verified boolean true
  identification.uncertainIdentification boolean false
Location
  location.decimalLatitude double? 57.4303
  location.decimalLongitude double? 16.66547
  location.Sweref99TmX double? 661035
  location.Sweref99TmY double? 6569227
  location.coordinateUncertaintyInMeters int32? 100
  location.county Area<county> { "featureId":"8", "name":"Kalmar" }
  location.municipality Area<municipality> { "featureId":"882", "name":"Oskarshamn" }
Taxon
  taxon.id int32 221501
  taxon.scientificName string "Anacamptis morio"
  taxon.vernacularName string "göknycklar"
  taxon.attributes.organismGroup string "Kärlväxter"

Extended

Field Type Example
Record level
  datasetName string "Artportalen"
  collectionCode string "Artportalen"
  dataProviderId int32 1
  institutionCode VocabularyValue<institutionCode> { id=433, value="Landsorts fågelstation" }
  ownerInstitutionCode string "SLU Artdatabanken"
  basisOfRecord VocabularyValue<basisOfRecord> { "id":0, "value":"HumanObservation" }
  rightsHolder string "Landsorts fågelstation"
  modified DateTime? "2008-07-18T15:19:00+02:00"
  measurementOrFacts[]
    .measurementID
    .measurementType
    .measurementValue
    .measurementUnit
Collection<ExtendedMeasurementOrFact> [{
 "measurementID" : "3503-592",
 "measurementType" : "Typ av substrat",
 "measurementValue" : "silt/lera"
}]
  projects[]
    .id
    .name
    .owner
    .projectParameters[]
Collection<Project> [{
  "id" : 774,
  "name" : "Inventering av vedsvampar",
  "owner" : "Tom Volgers",
  "projectParameters" : [{
    "id" : 18,
    "name" : "Trädvitalitet",
    "value" : "Naturlig låga"
    "dataType" : "string"
 }]
}]
Occurrence
  occurrence.occurrenceId string "urn:lsid:artportalen.se:Sighting:3921008"
  occurrence.occurrenceStatus VocabularyValue<occurrenceStatus> { "id":0, "value":"present" }
  occurrence.recordedBy string "Ove Sinatra"
  occurrence.reportedBy string "Dennis Alnér"
  occurrence.individualCount string "1"
  occurrence.organismQuantity string "1"
  occurrence.organismQuantityInt int32 1
  occurrence.organismQuantityUnit VocabularyValue<unit> { "id":1, "value":"plantor/tuvor" }
  occurrence.url string "http://www.artportalen.se/sighting/474560"
  occurrence.associatedMedia ⚠️ DEPRECATED – This field is no longer used. string http://www.artportalen.se/Image/744511
  occurrence.occurrenceRemarks string "Floraundersökning kalkeffekter åt länsstyrelsen ej kalkat"
  occurrence.activity VocabularyValue<activity> { "id":25, "value":"födosökande" }
  occurrence.behavior VocabularyValue<behavior> { "id":17, "value":"permanent revir" }
  occurrence.biotope VocabularyValue<biotope> { "id":509, "value":"Vattenstrand" }
  occurrence.biotopeDescription string "havsstrandäng med låga kullar och fuktdrag"
  occurrence.lifeStage VocabularyValue<lifeStage> { "id":24, "value":"larv/nymf" }
  occurrence.reproductiveCondition VocabularyValue<reproductiveCondition> { "id":13, "value":"ruvfläckar" }
  occurrence.sex VocabularyValue<sex> { "id":2, "value":"hona" }
  occurrence.sensitivityCategory int32 1
  occurrence.isNaturalOccurrence boolean true
  occurrence.isNeverFoundObservation boolean false
  occurrence.isNotRediscoveredObservation boolean false
  occurrence.isPositiveObservation boolean true
  occurrence.substrate.name VocabularyValue<substrate> { "id":84, "value":"Död trädstam" }
  occurrence.length int32 487
  occurrence.weight int32 900
Event
  event.startDate DateTime? "2008-07-07T11:00:00+02:00"
  event.endDate DateTime? "2008-07-07T12:30:00+02:00"
  event.plainStartDate string "2008-07-07"
  event.plainEndDate string "2008-07-07"
  event.plainStartTime string "11:00"
  event.plainEndTime string "12:30"
  event.habitat string "Åker"
  event.eventRemarks string "Tall herbs and young trees mixed with old oaks."
  event.samplingEffort string "1 day survey of a 100 m^2 area"
  event.samplingProtocol string "https://www.slu.se/globalassets/ris_fin_2008.pdf"
  event.sampleSizeUnit string "m^2"
  event.sampleSizeValue string "100"
  event.measurementOrFacts[]
    .measurementID
    .measurementType
    .measurementValue
    .measurementUnit
Collection<ExtendedMeasurementOrFact> [{
 "measurementType" : "Vegetationsyteareal",
 "measurementValue" : "100",
 "measurementUnit" : "m^2"
}]
Identification
  identification.verified boolean true
  identification.uncertainIdentification boolean false
  identification.verificationStatus VocabularyValue<verificationStatus> { "id":60, "value":"Godkänd baserat på observatörens uppgifter" }
  identification.confirmedBy string "Gerhard Boré"
  identification.identifiedBy string "Mårten Ilidasch"
  identification.verifiedBy string "Lennart Lasseman"
  identification.determinationMethod VocabularyValue<determinationMethod> { "id":3, "value":"stereolupp" }
Location
  location.decimalLatitude double? 57.4303
  location.decimalLongitude double? 16.66547
  location.coordinateUncertaintyInMeters int32? 100
  location.county Area<county> { "featureId":"8", "name":"Kalmar" }
  location.municipality Area<municipality> { "featureId":"882", "name":"Oskarshamn" }
  location.locality string "Mosse 200 m SO om TÅNGEN, Vg"
  location.province Area<province> { "featureId":"3", "name":"Småland" }
  location.parish Area<parish> { "featureId":"845", "name":"Misterhult" }
  location.geodeticDatum string "EPSG:4326"
  location.locationId string "urn:lsid:artportalen.se:site:649345"
Taxon
  taxon.id int32 221501
  taxon.scientificName string "Anacamptis morio"
  taxon.vernacularName string "göknycklar"
  taxon.attributes.organismGroup string "Kärlväxter"
  taxon.genus string "Anacamptis"
  taxon.family string "Orchidaceae"
  taxon.order string "Asparagales"
  taxon.class string "Liliopsida"
  taxon.phylum string "Tracheophyta"
  taxon.kingdom string "Plantae"
  taxon.taxonId string "urn:lsid:dyntaxa.se:Taxon:221501"
  taxon.attributes.sensitivityCategory VocabularyValue<protectionLevel> { "id":1, "value":"Fullständig åtkomst och fri användning för alla" }
  taxon.attributes.redlistCategory string "LC"
  taxon.attributes.isRedlisted boolean true
  taxon.attributes.isInvasiveInSweden boolean true
  taxon.attributes.isInvasiveAccordingToEuRegulation boolean true
  taxon.attributes.invasiveRiskAssessmentCategory string SE
  taxon.attributes.protectedByLaw boolean true
  taxon.attributes.taxonCategory VocabularyValue<taxonCategory> { "id":17, "value":"Art" }

AllWithValues

All fields that are described on the Observation documentation page where there exist at least one value, i.e. all that contain an example value.

All

All fields that are described on the Observation documentation page.