{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://thesoftwarelens.com/saacip/0.2/schemas/statement-response.schema.json",
  "$comment": "SaaCIP 0.2 (https://thesoftwarelens.com/saacip/). Licensed under the Apache License 2.0.",
  "title": "SaaCIP 0.2 HTTP binding: statement response",
  "description": "200 response to POST <base>/statement/.",
  "type": "object",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "$ref": "common.schema.json#/$defs/hireStatus"
    },
    "attestation": {
      "$ref": "attestation.schema.json",
      "description": "Present with every accepted final statement from a 0.2 hub (section 7.7)."
    }
  }
}
