{
  "_note": "Answer key written by scripts/make-sample-files.py, the script that drew the file: every value below is one it printed. Do not edit by hand.",
  "sample": "sample-fillable-pdf-form",
  "page": "/sample-files/sample-fillable-pdf-form",
  "files": [
    "sample-fillable-form.pdf"
  ],
  "license": "https://creativecommons.org/publicdomain/zero/1.0/",
  "fictional": true,
  "document": "form",
  "language": "English",
  "form_fields": [
    {
      "name": "full_name",
      "label": "Full name",
      "required": false,
      "type": "text",
      "multiline": false,
      "max_length": 100,
      "default": ""
    },
    {
      "name": "date_of_birth",
      "label": "Date of birth",
      "required": false,
      "type": "text",
      "multiline": false,
      "max_length": 10,
      "default": ""
    },
    {
      "name": "email",
      "label": "Email address",
      "required": false,
      "type": "text",
      "multiline": false,
      "max_length": 100,
      "default": ""
    },
    {
      "name": "phone",
      "label": "Phone number",
      "required": false,
      "type": "text",
      "multiline": false,
      "max_length": 100,
      "default": ""
    },
    {
      "name": "address",
      "label": "Postal address",
      "required": false,
      "type": "text",
      "multiline": true,
      "max_length": 100,
      "default": ""
    },
    {
      "name": "membership_type",
      "label": "Membership type",
      "required": true,
      "type": "radio",
      "options": [
        "adult",
        "student",
        "senior"
      ],
      "default": "adult"
    },
    {
      "name": "int_fiction",
      "label": "Fiction",
      "required": true,
      "type": "checkbox",
      "on_value": "Yes",
      "default": false
    },
    {
      "name": "int_history",
      "label": "Local history",
      "required": true,
      "type": "checkbox",
      "on_value": "Yes",
      "default": false
    },
    {
      "name": "int_digital",
      "label": "Digital skills",
      "required": true,
      "type": "checkbox",
      "on_value": "Yes",
      "default": false
    },
    {
      "name": "int_kids",
      "label": "Children's events",
      "required": true,
      "type": "checkbox",
      "on_value": "Yes",
      "default": false
    },
    {
      "name": "branch",
      "label": "Home branch",
      "required": false,
      "type": "dropdown",
      "options": [
        "Larkfield Central",
        "Larkfield North",
        "Riverside",
        "Mobile library"
      ],
      "default": "Larkfield Central"
    },
    {
      "name": "heard_from",
      "label": "How did you hear about us",
      "required": false,
      "type": "text",
      "multiline": false,
      "max_length": 100,
      "default": ""
    },
    {
      "name": "agree",
      "label": "I agree",
      "required": true,
      "type": "checkbox",
      "on_value": "Yes",
      "default": false
    },
    {
      "name": "signature",
      "label": "Signature",
      "required": false,
      "type": "text",
      "multiline": false,
      "max_length": 100,
      "default": ""
    },
    {
      "name": "date_signed",
      "label": "Date signed",
      "required": false,
      "type": "text",
      "multiline": false,
      "max_length": 100,
      "default": ""
    }
  ],
  "notes": [
    "form_fields is read back from the PDF's AcroForm: each field's name, type, tooltip (label), flags and default. The transcript is the printed text: labels, headings and the footer."
  ],
  "transcript": {
    "rule": "Every line of text on each page, in the order the script drew it: a block at a time, top to bottom, a right-hand column after the left. Strings drawn one after another on the same baseline (the cells of a table row, a label and its value) are one line, joined by a space. Wrapped paragraphs keep the page's line breaks.",
    "pages": [
      {
        "page": 1,
        "lines": [
          "Larkfield Community Library",
          "Membership application  -  a fictional form with fillable fields, for testing",
          "Full name Date of birth (DD/MM/YYYY)",
          "Email address Phone number",
          "Postal address",
          "Membership type (choose one)",
          "Adult Student Senior (65 and over)",
          "Interests (tick any)",
          "Fiction Local history Digital skills Children's events",
          "Home branch How did you hear about us?",
          "I agree to look after the items I borrow, to return them on time and to tell the library if my address changes. I",
          "understand that this is a fictional form made for testing.",
          "I agree",
          "Signature (type your name) Date",
          "For library use only",
          "Card number: ____________     Checked by: ____________     Date: ____________",
          "SPECIMEN - fictional document made by filedone.ai for testing. Free to use (CC0 1.0). Page 1 of 1"
        ]
      }
    ]
  }
}
