{
  "identifier": "http://rs.tdwg.org/dwc-dp/1.0/survey-target-descriptor",
  "dcterms:isPartOf": "http://www.tdwg.org/standards/450",
  "url": "table-schemas/survey-target-descriptor.json",
  "name": "survey-target-descriptor",
  "title": "Survey Target Descriptor",
  "description": "A combination of a survey target value and a survey target type for a given eco:SurveyTarget.",
  "notes": "",
  "examples": "`taxon: Aves`; `pathway: transportContaminant`; `minimumTotalLength: 20 cm`",
  "namespace": "eco",
  "dcterms:isVersionOf": "http://rs.tdwg.org/eco/terms/SurveyTargetDescriptor",
  "fields": [
    {
      "name": "surveyTarget_fk",
      "title": "Survey Target (Foreign Key)",
      "description": "An identifier for an eco:SurveyTarget.",
      "notes": "The value in this field MAY be changed in aggregation to preserve the relationship to the related primary key.",
      "examples": "",
      "type": "string",
      "format": "default",
      "namespace": "eco",
      "dcterms:isVersionOf": "http://rs.tdwg.org/eco/terms/surveyTargetID",
      "constraints": {
        "required": true,
        "unique": false
      }
    },
    {
      "name": "surveyTargetType",
      "title": "Survey Target Type",
      "description": "A category that best matches the nature of a scope in an eco:SurveyTarget.",
      "notes": "Recommended best practice is to use a controlled vocabulary.",
      "examples": "`taxon`; `habitat`; `establishmentMeans`; `growthForm`; `sex`; `lifeStage`; `minimum length`",
      "type": "string",
      "format": "default",
      "namespace": "eco",
      "dcterms:isVersionOf": "http://rs.tdwg.org/eco/terms/surveyTargetType"
    },
    {
      "name": "surveyTargetTypeIRI",
      "title": "Survey Target Type IRI",
      "description": "An IRI of a controlled vocabulary value for a type of target.",
      "notes": "Recommended best practice is to use an IRI for a term in a controlled vocabulary.",
      "examples": "",
      "type": "string",
      "format": "default",
      "namespace": "dcterms",
      "dcterms:isVersionOf": "http://purl.org/dc/terms/type"
    },
    {
      "name": "surveyTargetTypeSource",
      "title": "Survey Target Type Source",
      "description": "A reference to a controlled vocabulary in which the definition of a value in eco:SurveyTargetType is given.",
      "notes": "",
      "examples": "",
      "type": "string",
      "format": "default",
      "namespace": "dc",
      "dcterms:isVersionOf": "http://purl.org/dc/elements/1.1/source"
    },
    {
      "name": "surveyTargetValue",
      "title": "Survey Target Value",
      "description": "A value to include or exclude in a scope categorized by eco:surveyTargetType.",
      "notes": "Recommended best practice is to use a controlled vocabulary.",
      "examples": "`Aves`; `oak savannah`; `native`; `tree`; `female`; `adult`; `height`; `weight`",
      "type": "string",
      "format": "default",
      "namespace": "eco",
      "dcterms:isVersionOf": "http://rs.tdwg.org/eco/terms/surveyTargetValue"
    },
    {
      "name": "surveyTargetValueIRI",
      "title": "Survey Target Value IRI",
      "description": "A value to include or exclude in a scope categorized by eco:surveyTargetType.",
      "notes": "Recommended best practice is to use an IRI for a term in a controlled vocabulary.",
      "examples": "",
      "type": "string",
      "format": "default",
      "namespace": "ecoiri",
      "dcterms:isVersionOf": "http://rs.tdwg.org/eco/iri/surveyTargetValue"
    },
    {
      "name": "surveyTargetValueSource",
      "title": "Survey Target Value Source",
      "description": "A reference to a controlled vocabulary in which the definition of a value in eco:SurveyTargetValue is given.",
      "notes": "",
      "examples": "",
      "type": "string",
      "format": "default",
      "namespace": "dc",
      "dcterms:isVersionOf": "http://purl.org/dc/elements/1.1/source"
    },
    {
      "name": "surveyTargetUnit",
      "title": "Survey Target Unit",
      "description": "Unit associated with a value in eco:surveyTargetValue.",
      "notes": "Recommended best practice is to use a controlled vocabulary.",
      "examples": "`m`; `g`; `years`",
      "type": "string",
      "format": "default",
      "namespace": "eco",
      "dcterms:isVersionOf": "http://rs.tdwg.org/eco/terms/surveyTargetUnit"
    },
    {
      "name": "surveyTargetUnitIRI",
      "title": "Survey Target Unit IRI",
      "description": "Unit associated with a value in eco:surveyTargetValue.",
      "notes": "Recommended best practice is to use an IRI for a term in a controlled vocabulary.",
      "examples": "",
      "type": "string",
      "format": "default",
      "namespace": "ecoiri",
      "dcterms:isVersionOf": "http://rs.tdwg.org/eco/iri/surveyTargetUnit"
    },
    {
      "name": "surveyTargetUnitSource",
      "title": "Survey Target Unit Source",
      "description": "A reference to a controlled vocabulary in which the definition of a value in eco:SurveyTargetUnit is given.",
      "notes": "",
      "examples": "",
      "type": "string",
      "format": "default",
      "namespace": "dc",
      "dcterms:isVersionOf": "http://purl.org/dc/elements/1.1/source"
    },
    {
      "name": "includeOrExclude",
      "title": "Include Or Exclude",
      "description": "Whether to include or exclude eco:surveyTargetValue in a scope categorized by eco:surveyTargetType.",
      "notes": "Combinations of eco:SurveyTarget records of inclusions and exclusions can define complex scopes such as all flying adult Aves except Passeriformes. Recommended best practice is to use a controlled vocabulary consisting of 'include' and 'exclude' only.",
      "examples": "`include`; `exclude`",
      "type": "string",
      "format": "default",
      "namespace": "eco",
      "dcterms:isVersionOf": "http://rs.tdwg.org/eco/terms/includeOrExclude",
      "constraints": {
        "required": true,
        "unique": false
      }
    }
  ],
  "foreignKeys": [
    {
      "fields": "surveyTarget_fk",
      "predicate": "for target",
      "reference": {
        "resource": "survey-target",
        "fields": "surveyTarget_pk"
      }
    }
  ]
}
