app.gainforest.evaluator.service

gainforest.earth

Documentation

An evaluator service declaration. Publish at /app.gainforest.evaluator.service/self to declare this account as an evaluator.

main record

An evaluator service declaration. Publish at /app.gainforest.evaluator.service/self to declare this account as an evaluator.

Record Key literal:self Fixed literal value

Properties

createdAt string datetime Required

Timestamp of when this evaluator service was declared.

policies ref #evaluatorPolicies Required

The evaluator's policies including supported evaluation types and access model.

View raw schema
{
  "key": "literal:self",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "policies",
      "createdAt"
    ],
    "properties": {
      "policies": {
        "ref": "#evaluatorPolicies",
        "type": "ref",
        "description": "The evaluator's policies including supported evaluation types and access model."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp of when this evaluator service was declared."
      }
    }
  },
  "description": "An evaluator service declaration. Publish at /app.gainforest.evaluator.service/self to declare this account as an evaluator."
}
evaluationTypeDefinition object

Definition of a single evaluation type produced by this evaluator.

Properties

identifier string Required

The evaluation type identifier (must match an entry in evaluationTypes).

maxGraphemes: 64 graphemes
locales array of ref#evaluationTypeLocale Optional

Human-readable names and descriptions in various languages.

maxLength: 20 items
resultType string Required

The lexicon reference for the result type (e.g., 'app.gainforest.evaluator.defs#speciesIdResult').

maxGraphemes: 128 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "identifier",
    "resultType"
  ],
  "properties": {
    "method": {
      "ref": "app.gainforest.evaluator.defs#methodInfo",
      "type": "ref",
      "description": "Default method info for this evaluation type (can be overridden per-evaluation)."
    },
    "locales": {
      "type": "array",
      "items": {
        "ref": "#evaluationTypeLocale",
        "type": "ref"
      },
      "maxLength": 20,
      "description": "Human-readable names and descriptions in various languages."
    },
    "identifier": {
      "type": "string",
      "description": "The evaluation type identifier (must match an entry in evaluationTypes).",
      "maxGraphemes": 64
    },
    "resultType": {
      "type": "string",
      "description": "The lexicon reference for the result type (e.g., 'app.gainforest.evaluator.defs#speciesIdResult').",
      "maxGraphemes": 128
    }
  },
  "description": "Definition of a single evaluation type produced by this evaluator."
}
evaluationTypeLocale object

Localized name and description for an evaluation type.

Properties

description string Required

Longer description of what this evaluation type does.

maxGraphemes: 2048 graphemes
lang string Required

Language code (BCP-47, e.g., 'en', 'pt-BR').

maxGraphemes: 16 graphemes
name string Required

Short human-readable name for this evaluation type.

maxGraphemes: 128 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "lang",
    "name",
    "description"
  ],
  "properties": {
    "lang": {
      "type": "string",
      "description": "Language code (BCP-47, e.g., 'en', 'pt-BR').",
      "maxGraphemes": 16
    },
    "name": {
      "type": "string",
      "description": "Short human-readable name for this evaluation type.",
      "maxGraphemes": 128
    },
    "description": {
      "type": "string",
      "description": "Longer description of what this evaluation type does.",
      "maxGraphemes": 2048
    }
  },
  "description": "Localized name and description for an evaluation type."
}
evaluatorPolicies object

Policies declaring what this evaluator does and how it operates.

Properties

accessModel string Optional

Whether this evaluator requires user subscription ('subscription') or processes all matching records ('open').

maxGraphemes: 64 graphemes
Known values: open, subscription
evaluationTypeDefinitions array of ref#evaluationTypeDefinition Optional

Detailed definitions for each evaluation type, including human-readable descriptions.

maxLength: 20 items
evaluationTypes array of string Required

List of evaluation type identifiers this evaluator produces (e.g., 'species-id', 'data-quality').

maxLength: 20 items
subjectCollections array of string Optional

NSIDs of record collections this evaluator can evaluate (e.g., 'app.gainforest.dwc.occurrence').

maxLength: 20 items
View raw schema
{
  "type": "object",
  "required": [
    "evaluationTypes"
  ],
  "properties": {
    "accessModel": {
      "type": "string",
      "description": "Whether this evaluator requires user subscription ('subscription') or processes all matching records ('open').",
      "knownValues": [
        "open",
        "subscription"
      ],
      "maxGraphemes": 64
    },
    "evaluationTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "maxGraphemes": 64
      },
      "maxLength": 20,
      "description": "List of evaluation type identifiers this evaluator produces (e.g., 'species-id', 'data-quality')."
    },
    "subjectCollections": {
      "type": "array",
      "items": {
        "type": "string",
        "maxGraphemes": 128
      },
      "maxLength": 20,
      "description": "NSIDs of record collections this evaluator can evaluate (e.g., 'app.gainforest.dwc.occurrence')."
    },
    "evaluationTypeDefinitions": {
      "type": "array",
      "items": {
        "ref": "#evaluationTypeDefinition",
        "type": "ref"
      },
      "maxLength": 20,
      "description": "Detailed definitions for each evaluation type, including human-readable descriptions."
    }
  },
  "description": "Policies declaring what this evaluator does and how it operates."
}

Lexicon Garden

@