openapi: 3.1.1 info: title: FormSubmission version: 2.0.0 description: "Container schemas fetched from beckn.yaml. This cannot be extended as it is a reserved schema in beckn protocol. Any additional properties added to this schema can only be made using its *Attributes property" license: name: CC-BY-NC-SA 4.0 International contact: name: Beckn Labs url: https://beckn.io components: schemas: FormSubmission: $id: https://schema.beckn.io/FormSubmission/v2.0 $schema: https://json-schema.org/draft/2020-12/schema title: FormSubmission x-tags: - common description: A user's submitted response to a Beckn form. Captures the filled-in field values keyed by form field names. Typically attached to a RatingInput to convey feedback form answers alongside a rating. type: object properties: id: description: Identifier of the form that was submitted. Typically the form's URL or the value of the form's url field. type: string format: uri submissionId: description: Unique identifier for this form submission instance. type: string format: uuid data: description: Key-value map of form field names to submitted values. Keys correspond to the field identifiers defined in the form; values are the user's responses as strings. type: object additionalProperties: type: string submittedAt: description: Timestamp at which the form was submitted, in RFC 3339 / ISO 8601 format. type: string format: date-time required: - data additionalProperties: false