{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-public-form-response-blueprint-one-schema.json",
  "title": "Public.FormResponseBlueprint_one",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hint-health-form-response-api-openapi.yml#/components/schemas/Public.FormResponseBlueprint_one",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "form": {
      "$ref": "#/$defs/Public.FormBlueprint_leaf"
    },
    "form_response_items": {
      "$ref": "#/$defs/Public.FormResponseItemBlueprint_leaf"
    },
    "subject": {
      "$ref": "#/$defs/Common.RecordBlueprint_min"
    }
  },
  "$defs": {
    "Common.RecordBlueprint_min": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        }
      }
    },
    "Public.FormBlueprint_leaf": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "form_items": {
          "$ref": "#/$defs/Public.FormItemBlueprint_leaf"
        }
      }
    },
    "Public.FormItemBlueprint_leaf": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "help_text": {
          "type": "string"
        },
        "item_type": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      }
    },
    "Public.FormResponseItemBlueprint_leaf": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "answer": {
          "type": "string"
        },
        "respondent": {
          "$ref": "#/$defs/Common.RecordBlueprint_min"
        }
      }
    }
  }
}