{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$ref": "#/definitions/Subjectivity",
  "definitions": {
    "Subjectivity": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string",
          "description": "Description of what must be done or provided"
        },
        "type": {
          "type": "string",
          "enum": [
            "pre-bind",
            "post-bind"
          ],
          "description": "Whether this must be resolved before or after binding"
        },
        "status": {
          "type": "string",
          "enum": [
            "outstanding",
            "satisfied",
            "waived"
          ],
          "description": "Current status of the subjectivity"
        },
        "dueDate": {
          "type": "string",
          "description": "Deadline for satisfying this subjectivity.",
          "format": "date"
        }
      },
      "required": [
        "description",
        "type",
        "status"
      ],
      "additionalProperties": false,
      "description": "A condition that must be satisfied before a quote can be bound. Common in insurance — e.g., \"Provide updated loss runs\" or \"Install fire suppression system within 90 days.\"",
      "examples": [
        {
          "description": "Provide audited financial statements for last 3 years",
          "type": "pre-bind",
          "status": "outstanding"
        }
      ]
    }
  },
  "$id": "https://bind-standard.org/schema/Subjectivity",
  "title": "Subjectivity"
}
