{
  "standard": "https://vetdatastandards.com/v0.1",
  "version": "0.1.0",
  "exportedAt": "2026-03-15T18:00:00Z",
  "generator": {
    "name": "vet-data-standard-examples",
    "version": "0.1.0"
  },
  "organisations": [
    {
      "id": "org-1",
      "name": "Riverside Veterinary Group",
      "source": {
        "system": "com.example.pims",
        "recordId": "group-1",
        "recordIdMethod": "native"
      }
    }
  ],
  "practices": [
    {
      "id": "prac-1",
      "organisationId": "org-1",
      "name": "Riverside Veterinary Clinic",
      "address": {
        "addressLine1": "12 High Street",
        "locality": "Bath",
        "postalCode": "BA1 1AA",
        "country": "GB"
      },
      "phone": "+441225000000",
      "email": "clinic@example.com",
      "country": "GB",
      "timezone": "Europe/London",
      "defaultCurrency": "GBP",
      "extensions": {
        "com.example.pims": {
          "roomCode": "EXAM-2"
        }
      },
      "source": {
        "system": "com.example.pims",
        "recordId": "clinic-1",
        "recordIdMethod": "native"
      }
    }
  ],
  "locations": [
    {
      "id": "loc-1",
      "practiceId": "prac-1",
      "name": "Main site",
      "kind": "clinic",
      "isPrimary": true,
      "source": {
        "system": "com.example.pims",
        "recordId": "site-1",
        "recordIdMethod": "native"
      }
    }
  ],
  "staff": [
    {
      "id": "staff-1",
      "practiceId": "prac-1",
      "locationId": "loc-1",
      "displayName": "Alex Rivera",
      "givenName": "Alex",
      "familyName": "Rivera",
      "email": "alex.rivera@example.com",
      "role": "veterinarian",
      "registrationBody": "RCVS",
      "registrationNumber": "1234567",
      "source": {
        "system": "com.example.pims",
        "recordId": "user-1",
        "recordIdMethod": "native"
      }
    }
  ],
  "clients": [
    {
      "id": "cli-1",
      "practiceId": "prac-1",
      "displayName": "Jordan Blake",
      "givenName": "Jordan",
      "familyName": "Blake",
      "email": "jordan.blake@example.com",
      "phone": "+447700900000",
      "address": {
        "addressLine1": "4 Oak Lane",
        "locality": "Bath",
        "postalCode": "BA2 2BB",
        "country": "GB"
      },
      "accountReference": "CLI-00001",
      "matchKeys": ["email:jordan.blake@example.com"],
      "source": {
        "system": "com.example.pims",
        "recordId": "owner-1",
        "recordIdMethod": "native"
      }
    }
  ],
  "patients": [
    {
      "id": "pat-1",
      "practiceId": "prac-1",
      "primaryClientId": "cli-1",
      "name": "Nala",
      "species": "canine",
      "breed": "Labrador Retriever",
      "sex": "female",
      "neuterStatus": "neutered",
      "neuterStatusRaw": "spayed",
      "dateOfBirth": "2020-05-12",
      "colour": "black",
      "microchip": "000000000000000",
      "status": "active",
      "accountReference": "PAT-00001",
      "matchKeys": ["microchip:000000000000000"],
      "weights": [
        {
          "recordedAt": "2026-03-15T10:05:00Z",
          "valueKg": "28.4000"
        }
      ],
      "relatedParties": [
        {
          "clientId": "cli-1",
          "role": "owner"
        }
      ],
      "source": {
        "system": "com.example.pims",
        "recordId": "animal-1",
        "recordIdMethod": "native"
      }
    }
  ],
  "appointments": [
    {
      "id": "appt-1",
      "practiceId": "prac-1",
      "patientId": "pat-1",
      "clientId": "cli-1",
      "locationId": "loc-1",
      "staffId": "staff-1",
      "start": "2026-03-15T10:00:00Z",
      "end": "2026-03-15T10:20:00Z",
      "status": "completed",
      "statusRaw": "checked_out",
      "reason": "Annual vaccination",
      "source": {
        "system": "com.example.pims",
        "recordId": "booking-1",
        "recordIdMethod": "native"
      }
    }
  ],
  "consultations": [
    {
      "id": "cons-1",
      "practiceId": "prac-1",
      "patientId": "pat-1",
      "clientId": "cli-1",
      "appointmentId": "appt-1",
      "staffId": "staff-1",
      "status": "final",
      "startedAt": "2026-03-15T10:02:00Z",
      "endedAt": "2026-03-15T10:18:00Z",
      "reason": "Annual vaccination",
      "soap": {
        "subjective": "Bright and well. No cough reported.",
        "objective": "Clinical examination unremarkable. Weight 28.4 kg.",
        "assessment": "Healthy adult dog. Due booster.",
        "plan": "Administer booster. Dispense flea treatment. Recheck in 12 months."
      },
      "source": {
        "system": "com.example.pims",
        "recordId": "consult-1",
        "recordIdMethod": "native"
      }
    }
  ],
  "products": [
    {
      "id": "prod-1",
      "practiceId": "prac-1",
      "name": "Canine booster vaccine",
      "code": "VAX-CAN-001",
      "unit": "dose",
      "unitPrice": {
        "amount": "12.00",
        "currency": "GBP"
      },
      "taxPercent": "20",
      "priceIncludesTax": true,
      "active": true,
      "source": {
        "system": "com.example.pims",
        "recordId": "sku-vax-1",
        "recordIdMethod": "native"
      }
    }
  ],
  "services": [
    {
      "id": "svc-1",
      "practiceId": "prac-1",
      "name": "Consultation",
      "code": "CONS",
      "unitPrice": {
        "amount": "50.00",
        "currency": "GBP"
      },
      "taxPercent": "20",
      "priceIncludesTax": false,
      "durationMinutes": 20,
      "active": true,
      "source": {
        "system": "com.example.pims",
        "recordId": "svc-consult",
        "recordIdMethod": "native"
      }
    }
  ],
  "prescriptions": [
    {
      "id": "rx-1",
      "practiceId": "prac-1",
      "patientId": "pat-1",
      "consultationId": "cons-1",
      "appointmentId": "appt-1",
      "staffId": "staff-1",
      "medicationName": "Flea treatment spot-on",
      "prescribedAt": "2026-03-15T10:16:00Z",
      "dosage": "1 pipette",
      "frequency": "once",
      "quantity": "1",
      "quantityUnit": "pipette",
      "instructions": "Apply to skin at the back of the neck.",
      "status": "completed",
      "startDate": "2026-03-15",
      "endDate": "2026-03-15",
      "source": {
        "system": "com.example.pims",
        "recordId": "rx-1",
        "recordIdMethod": "native"
      }
    }
  ],
  "vaccinations": [
    {
      "id": "vac-1",
      "practiceId": "prac-1",
      "patientId": "pat-1",
      "consultationId": "cons-1",
      "appointmentId": "appt-1",
      "productId": "prod-1",
      "staffId": "staff-1",
      "vaccineName": "Canine booster",
      "administeredAt": "2026-03-15T10:12:00Z",
      "lotNumber": "LOT-88",
      "manufacturer": "Example Vaccines",
      "nextDueDate": "2027-03-15",
      "route": "subcutaneous",
      "site": "left shoulder",
      "status": "administered",
      "source": {
        "system": "com.example.pims",
        "recordId": "vax-1",
        "recordIdMethod": "native"
      }
    }
  ],
  "invoices": [
    {
      "id": "inv-1",
      "practiceId": "prac-1",
      "clientId": "cli-1",
      "patientId": "pat-1",
      "appointmentId": "appt-1",
      "consultationId": "cons-1",
      "locationId": "loc-1",
      "currency": "GBP",
      "status": "issued",
      "statusRaw": "finalized",
      "kind": "invoice",
      "documentNumber": "INV-00001",
      "issuedAt": "2026-03-15T10:20:00Z",
      "dueDate": "2026-03-15",
      "subtotal": "60.00",
      "taxTotal": "12.00",
      "total": "72.00",
      "amountPaid": "0.00",
      "source": {
        "system": "com.example.pims",
        "recordId": "inv-1",
        "recordIdMethod": "native"
      }
    }
  ],
  "invoiceLines": [
    {
      "id": "line-1",
      "invoiceId": "inv-1",
      "serviceId": "svc-1",
      "description": "Consultation",
      "quantity": "1",
      "unitPrice": "50.00",
      "priceIncludesTax": false,
      "taxPercent": "20",
      "netAmount": "50.00",
      "taxAmount": "10.00",
      "lineTotal": "60.00",
      "kind": "service",
      "source": {
        "system": "com.example.pims",
        "recordId": "inv-1-line-1",
        "recordIdMethod": "native"
      }
    },
    {
      "id": "line-2",
      "invoiceId": "inv-1",
      "productId": "prod-1",
      "patientId": "pat-1",
      "description": "Canine booster vaccine",
      "quantity": "1",
      "unitPrice": "12.00",
      "priceIncludesTax": true,
      "taxPercent": "20",
      "netAmount": "10.00",
      "taxAmount": "2.00",
      "lineTotal": "12.00",
      "kind": "product",
      "source": {
        "system": "com.example.pims",
        "recordId": "inv-1-line-2",
        "recordIdMethod": "native"
      }
    }
  ],
  "documents": [
    {
      "id": "doc-1",
      "practiceId": "prac-1",
      "patientId": "pat-1",
      "consultationId": "cons-1",
      "title": "Vaccination certificate",
      "documentType": "vaccination_certificate",
      "content": {
        "fileName": "certificate.txt",
        "mimeType": "text/plain",
        "inlineBase64": "U3ludGhldGljIGNlcnRpZmljYXRlCg==",
        "byteSize": 22,
        "sha256": "ecc477d6247142a3a9d440905295b9c678a1fa6afd991908bb9f1eefd1ccba1e"
      },
      "source": {
        "system": "com.example.pims",
        "recordId": "file-1",
        "recordIdMethod": "native"
      }
    }
  ]
}
