{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/good-grants/json-schema/good-grants-contributor-schema.json",
  "title": "Contributor",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/good-grants-contributors-api-openapi.yml#/components/schemas/Contributor",
  "type": "object",
  "properties": {
    "application": {
      "type": "object",
      "description": "Application the contributor is attached to.",
      "properties": {
        "slug": {
          "type": "string",
          "description": "Short URL-safe identifier for the application."
        },
        "link": {
          "type": "string",
          "format": "uri",
          "description": "Canonical URL for the application resource."
        },
        "title": {
          "type": "string",
          "description": "Title of the application."
        }
      }
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time when the contributor was created."
    },
    "fields": {
      "type": "array",
      "description": "Field values captured for the contributor, one item per field on the contributor tab.",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Short URL-safe identifier for the field."
          },
          "link": {
            "type": "string",
            "format": "uri",
            "description": "Canonical URL for the field resource."
          },
          "label": {
            "type": "object",
            "description": "Label of the field as an HTML fragment, keyed by locale code.",
            "additionalProperties": {
              "type": "string"
            }
          },
          "title": {
            "type": "object",
            "description": "Plain-text title of the field, keyed by locale code.",
            "additionalProperties": {
              "type": "string"
            }
          },
          "value": {
            "description": "Value submitted for the field, type depends on the field type."
          },
          "translated": {
            "type": "object",
            "description": "Translated value submitted for the field, keyed by locale code.",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      }
    },
    "season": {
      "type": "object",
      "description": "Season the contributor belongs to.",
      "properties": {
        "slug": {
          "type": "string",
          "description": "Short URL-safe identifier for the season."
        },
        "link": {
          "type": "string",
          "format": "uri",
          "description": "Canonical URL for the season resource."
        },
        "name": {
          "type": "object",
          "description": "Display name of the season, keyed by locale code.",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "slug": {
      "type": "string",
      "description": "Short URL-safe identifier for the contributor."
    },
    "tab": {
      "type": "object",
      "description": "Contributor tab the contributor belongs to.",
      "properties": {
        "slug": {
          "type": "string",
          "description": "Short URL-safe identifier for the tab."
        },
        "link": {
          "type": "string",
          "format": "uri",
          "description": "Canonical URL for the tab resource."
        },
        "name": {
          "type": "object",
          "description": "Display name of the tab, keyed by locale code.",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "updated": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time when the contributor was last updated."
    }
  }
}