{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getmattered/json-schema/getmattered-developer-application-response-schema.json",
  "title": "DeveloperApplicationResponse",
  "description": "Successful API response",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getmattered-developer-api-openapi.yml#/components/schemas/DeveloperApplicationResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "company": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "description": "The application. The same posting always answers with the same id."
        },
        "jobTitle": {
          "type": [
            "string",
            "null"
          ]
        },
        "landedEvidence": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "receipt",
              "screenshot"
            ],
            "description": "Who authored the evidence that this application reached the employer. `receipt` = the employer emailed a confirmation linked to this row. `screenshot` = a review of the stored post-submit screenshot read the employer's OWN confirmation page. Both are the other side's answer and both count as a proven landing; a row may hold either or both."
          },
          "description": "The employer's own proof the application landed: `receipt` (their email) and `screenshot` (their confirmation page). Empty unless `status` is `landed`."
        },
        "postingUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "in_progress",
            "held_for_review",
            "needs_you",
            "landed",
            "held",
            "not_landed"
          ],
          "description": "`in_progress`: GetMattered is preparing or sending it, or it was sent and the employer has not confirmed it yet. `held_for_review`: ready, and waiting for the account owner to approve it in GetMattered. `needs_you`: waiting on the account owner for something else. `landed`: the employer confirmed it, by their own email or their confirmation page; `landedEvidence` says which. `held`: it stopped, and a mail may be the employer's answer, so GetMattered will not send it again; do not retry. `not_landed`: it stopped without the employer confirming it. Calling apply again for a stopped posting sends it again, except a `held` one or one the owner cancelled."
        },
        "tokens": {
          "type": "integer",
          "description": "Tokens the call that started this application has spent on it so far, the request fee included. 0 for an application started in GetMattered."
        },
        "trackingUrl": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri",
          "description": "The application's page in GetMattered, behind the account owner's sign-in. Null for a candidate's application: candidates have no GetMattered sign-in."
        }
      },
      "required": [
        "company",
        "id",
        "jobTitle",
        "landedEvidence",
        "postingUrl",
        "status",
        "tokens",
        "trackingUrl"
      ],
      "additionalProperties": false
    },
    "meta": {
      "$ref": "#/$defs/ResponseMetadata"
    },
    "success": {
      "type": "boolean",
      "enum": [
        true
      ]
    }
  },
  "required": [
    "data",
    "success"
  ],
  "additionalProperties": false,
  "$defs": {
    "ResponseMetadata": {
      "type": "object",
      "properties": {
        "duration": {
          "type": "number",
          "minimum": 0,
          "description": "Request duration in milliseconds"
        },
        "performance": {
          "type": "object",
          "properties": {
            "dbQueries": {
              "type": "integer",
              "minimum": 0
            },
            "totalDbTime": {
              "type": "number",
              "minimum": 0
            }
          },
          "description": "Performance metrics (preview/local only)"
        },
        "requestId": {
          "type": "string",
          "description": "Unique request identifier"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "ISO 8601 timestamp"
        },
        "version": {
          "type": "string",
          "description": "API version"
        }
      }
    }
  }
}