Skip to content
GitmoapAPIBeta
Schema

CriterionKindDescriptor

One kind of acceptance criterion: what it is, and the fields it takes — both as a typed list (fields) and as a JSON Schema (config_schema) a form can be rendered from.

Shape

  • config_schemaobjectA JSON Schema over the fields — render a form from this.
  • descriptionstring
  • evaluablebooleanWhether the platform evaluates this kind from evidence (i.e. it is a real binding, not a manual checkbox).
  • fieldsarray of FieldDescriptorThe typed argument fields.
  • kindCriterionKindmanualtestmetriccoveragenodescorecard_checkA kind of acceptance criterion. Manual is a human-ticked checkbox (no binding); the rest bind to a predicate the platform evaluates from pipeline evidence.
  • labelstring

Example

Synthesized example
{
"config_schema": {},
"description": "Renders each region as density contours of its operations.",
"evaluable": false,
"fields": [
{
"description": "Renders each region as density contours of its operations.",
"field_type": {
"type": "text"
},
"label": "label-6763",
"name": "payments-api",
"required": false
},
{
"description": "Renders each region as density contours of its operations.",
"field_type": {
"type": "text"
},
"label": "label-9313",
"name": "payments-api",
"required": false
}
],
"kind": "manual",
"label": "label-afcd"
}

Graph

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.