$schema: "https://json-schema.org/draft/2020-12/schema"
title: "DnavisitServiceRequest"
type: "object"

properties:
  requisition_id:
    $ref: '../ids.json#/definitions/RequisitionId'
  appointment_url:
    type: string
    format: uri
    description: Link to a scheduled genetic counseling appointment
  appointment_date:
    $ref: '../core.json#/definitions/UTCTimestamp'
  access_code:
    type: string
    description: Access code required to schedule new genetic counseling appointments
  external_status:
    type: string
  service_type:
    $ref: "../core.json#/definitions/DNAVisitServiceType"
  requested_on:
    $ref: "../core.json#/definitions/Date"
  completed_on:
    $ref: "../core.json#/definitions/Date"
  dnavisit_order_id:
    type: string

additionalProperties: false