
{
    "id": "lssd_subject_information_system",
    "title": "Subject Information System",
    "description": "Generate an LSSD Subject Information System (SIS) report.",
    "icon": "UserSearch",
    "icon_color": "#0ea5e9",
    "output_title": "{{subject.name}}",
    "is_html_output": false,
    "output": "[table=Times New][tr][td][center][b][size=130]LSSD SUBJECT INFORMATION SYSTEM FORMAT[/size][/b][/center][/td][/tr][/table]\n[table=Times New]\n[tr][td][b]DATE[/b]\n{{general.date}}[/td]\n[td][b]TIME[/b]\n{{general.time}}[/td]\n[td][b]ROAD[/b]\n{{location.street}}[/td]\n[td][b]UNIT[/b]\n{{general.callSign}}[/td][/tr][/table]\n[table=Times New][tr][td][b]F.I INFORMATION[/b][/table]\n[table=Times New][tr][td][b]NAME [i](Last, First, Middle)[/i][/b]\n{{subject.name}}[/td][/tr][/table]\n[table=Times New][tr][td][b]RESIDENCE ADDRESS[/b]\n{{subject.address}}[/td][/tr][/table]\n[table=Times New][tr][td][b]PHONE:[/b]\n{{subject.phone}}[/td][td][b]MONIKER[/b]\n{{subject.moniker}}[/td][/tr][/table]\n[table=Times New][tr][td][b]SEX[/b]\n{{subject.sex}}[/td][td][b]RACE[/b]\n{{subject.race}}[/td][td][b]DOB[/b]\n{{subject.dob}}[/td][td][b]HT[/b]\n{{subject.height}}[/td][td][b]WT[/b]\n{{subject.weight}}[/td][td][b]EYES[/b]\n{{subject.eyes}}[/td][td][b]HAIR[/b]\n{{subject.hair}}[/td][/tr][/table]\n[table=Times New][tr][td][b]GANG/CLIQUE[/b] {{subject.gang_clique}} [float=right][b]Known[/b] {{#if (eq subject.gang_status 'Known')}}[cbc]{{else}}[cb]{{/if}}[color=transparent]—[/color][b]Suspected[/b] {{#if (eq subject.gang_status 'Suspected')}}[cbc]{{else}}[cb]{{/if}}[color=transparent]-[/color]or[color=transparent]-[/color][b]Affiliate[/b] {{#if (eq subject.gang_status 'Affiliate')}}[cbc]{{else}}[cb]{{/if}}[/float][/td][/tr][/table]\n[table=Times New][tr][td][b]TATTOOS/SCARS/MARKS/ODDITIES[/b]\nL[color=transparent]—[/color]R\n{{#if tattoos.left_arm.checked}}[cbc]{{else}}[cb]{{/if}} {{#if tattoos.right_arm.checked}}[cbc]{{else}}[cb]{{/if}} Arm: {{tattoos.arm_description}}\n{{#if tattoos.left_face.checked}}[cbc]{{else}}[cb]{{/if}} {{#if tattoos.right_face.checked}}[cbc]{{else}}[cb]{{/if}} Face/Head/Neck: {{tattoos.face_description}}\n{{#if tattoos.left_hand.checked}}[cbc]{{else}}[cb]{{/if}} {{#if tattoos.right_hand.checked}}[cbc]{{else}}[cb]{{/if}} Hand: {{tattoos.hand_description}}\n{{#if tattoos.left_leg.checked}}[cbc]{{else}}[cb]{{/if}} {{#if tattoos.right_leg.checked}}[cbc]{{else}}[cb]{{/if}} Leg: {{tattoos.leg_description}}\n{{#if tattoos.left_other.checked}}[cbc]{{else}}[cb]{{/if}} {{#if tattoos.right_other.checked}}[cbc]{{else}}[cb]{{/if}} Other: {{tattoos.other_description}}[/td][/tr][/table] \n[table=Times New][tr][td][b]VEHICLE INFORMATION[/b][/td][/tr][/table]\n[table=Times New][tr][td][b]MAKE & MODEL[/b]\n{{vehicle.make_model}}[/td][td][b]COLOR[/b]\n{{vehicle.color}}[/td][td][b]LICENSE #[/b]\n{{vehicle.plate}}[/td][/tr][/table]\n[table=Times New][tr][td][b]ODDITIES/COMMENTS/REGISTERED OWNER/or VIN#[/b]\n{{vehicle.comments}}[/td][/tr][/table]",
    "form": [
        { "type": "section", "title": "Incident Details" },
        { "type": "general", "name": "general" },
        { "type": "location", "name": "location" },

        { "type": "section", "title": "Subject Information" },
        { "type": "text", "name": "subject.name", "label": "Full Name", "required": true },
        { "type": "text", "name": "subject.address", "label": "Residence Address" },
        { "type": "group", "fields": [
            { "type": "text", "name": "subject.phone", "label": "Phone" },
            { "type": "text", "name": "subject.moniker", "label": "Moniker" }
        ]},
        { "type": "group", "fields": [
            { "type": "dropdown", "name": "subject.sex", "label": "Sex", "options": ["M", "F", "O"], "required": true },
            { "type": "text", "name": "subject.race", "label": "Race", "required": true },
            { "type": "text", "name": "subject.dob", "label": "Date of Birth", "placeholder": "DD/MM/YYYY" },
            { "type": "text", "name": "subject.height", "label": "Height" },
            { "type": "text", "name": "subject.weight", "label": "Weight" },
            { "type": "text", "name": "subject.eyes", "label": "Eyes" },
            { "type": "text", "name": "subject.hair", "label": "Hair" }
        ]},
        { "type": "group", "fields": [
            { "type": "text", "name": "subject.gang_clique", "label": "Gang/Clique" },
            { "type": "dropdown", "name": "subject.gang_status", "label": "Gang Status", "options": ["Known", "Suspected", "Affiliate"] }
        ]},
        { "type": "section", "title": "Tattoos/Scars/Marks/Oddities" },
        {
            "type": "group",
            "fields": [
                { "type": "toggle", "name": "tattoos.left_arm.checked", "label": "L Arm", "dataOn": "Left Arm", "dataOff": "Left Arm" },
                { "type": "toggle", "name": "tattoos.right_arm.checked", "label": "R Arm", "dataOn": "Right Arm", "dataOff": "Right Arm" },
                { "type": "text", "name": "tattoos.arm_description", "label": "Arm Description", "placeholder": "Description of tattoos on arm(s)" }
            ]
        },
        {
            "type": "group",
            "fields": [
                { "type": "toggle", "name": "tattoos.left_face.checked", "label": "L Face/Head", "dataOn": "Left Face/Head", "dataOff": "Left Face/Head" },
                { "type": "toggle", "name": "tattoos.right_face.checked", "label": "R Face/Head", "dataOn": "Right Face/Head", "dataOff": "Right Face/Head" },
                { "type": "text", "name": "tattoos.face_description", "label": "Face/Head/Neck Description", "placeholder": "Description of tattoos on face/head/neck" }
            ]
        },
        {
            "type": "group",
            "fields": [
                { "type": "toggle", "name": "tattoos.left_hand.checked", "label": "L Hand", "dataOn": "Left Hand", "dataOff": "Left Hand" },
                { "type": "toggle", "name": "tattoos.right_hand.checked", "label": "R Hand", "dataOn": "Right Hand", "dataOff": "Right Hand" },
                { "type": "text", "name": "tattoos.hand_description", "label": "Hand Description", "placeholder": "Description of tattoos on hand(s)" }
            ]
        },
        {
            "type": "group",
            "fields": [
                { "type": "toggle", "name": "tattoos.left_leg.checked", "label": "L Leg", "dataOn": "Left Leg", "dataOff": "Left Leg" },
                { "type": "toggle", "name": "tattoos.right_leg.checked", "label": "R Leg", "dataOn": "Right Leg", "dataOff": "Right Leg" },
                { "type": "text", "name": "tattoos.leg_description", "label": "Leg Description", "placeholder": "Description of tattoos on leg(s)" }
            ]
        },
        {
            "type": "group",
            "fields": [
                { "type": "toggle", "name": "tattoos.left_other.checked", "label": "L Other", "dataOn": "Left Other", "dataOff": "Left Other" },
                { "type": "toggle", "name": "tattoos.right_other.checked", "label": "R Other", "dataOn": "Right Other", "dataOff": "Right Other" },
                { "type": "text", "name": "tattoos.other_description", "label": "Other Description", "placeholder": "Description of other tattoos" }
            ]
        },
        { "type": "section", "title": "Vehicle Information" },
        {
            "type": "group",
            "fields": [
                { "type": "datalist", "name": "vehicle.make_model", "label": "Make & Model", "optionsSource": "vehicles" },
                { "type": "text", "name": "vehicle.color", "label": "Color" },
                { "type": "text", "name": "vehicle.plate", "label": "License Plate" }
            ]
        },
        { "type": "textarea", "name": "vehicle.comments", "label": "Oddities/Comments/Registered Owner/or VIN#" }
    ]
}
