{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/open-government-portugal/json-schema/open-government-portugal-harvest-backend-schema.json",
  "title": "HarvestBackend",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/open-government-portugal-harvest-api-openapi.yml#/components/schemas/HarvestBackend",
  "properties": {
    "extra_configs": {
      "description": "The backend extra configuration variables",
      "items": {
        "$ref": "#/$defs/HarvestExtraConfig"
      },
      "type": "array"
    },
    "features": {
      "description": "The backend optional features",
      "items": {
        "$ref": "#/$defs/HarvestFeature"
      },
      "type": "array"
    },
    "filters": {
      "description": "The backend supported filters",
      "items": {
        "$ref": "#/$defs/HarvestFilter"
      },
      "type": "array"
    },
    "id": {
      "description": "The backend identifier",
      "type": "string"
    },
    "label": {
      "description": "The backend display name",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "HarvestExtraConfig": {
      "properties": {
        "default": {
          "description": "The config default value",
          "type": "string"
        },
        "description": {
          "description": "Some details about the behavior",
          "type": "string"
        },
        "key": {
          "description": "The config key",
          "type": "string"
        },
        "label": {
          "description": "A localized human-readable and descriptive label",
          "type": "string"
        }
      },
      "type": "object"
    },
    "HarvestFeature": {
      "properties": {
        "default": {
          "description": "The feature default state (true is enabled)",
          "type": "boolean"
        },
        "description": {
          "description": "Some details about the behavior",
          "type": "string"
        },
        "key": {
          "description": "The feature key",
          "type": "string"
        },
        "label": {
          "description": "A localized human-readable and descriptive label",
          "type": "string"
        }
      },
      "type": "object"
    },
    "HarvestFilter": {
      "properties": {
        "description": {
          "description": "The filter details",
          "type": "string"
        },
        "key": {
          "description": "The filter key",
          "type": "string"
        },
        "label": {
          "description": "A localized human-readable label",
          "type": "string"
        },
        "type": {
          "description": "The filter expected type",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}