{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.gandjfamilydaycare.com/schemas/emergency-drop-in-request.schema.json",
  "title": "G&J Family Day Care Emergency Drop-In Request",
  "description": "Schema for preparing an emergency or one-day drop-in care inquiry for provider review. Submission does not confirm care, enrollment, capacity, paperwork, or payment.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "parent_guardian_name",
    "parent_email",
    "parent_phone",
    "child_age",
    "requested_care_date",
    "requested_drop_off_time",
    "requested_pick_up_time",
    "emergency_contact_available",
    "allergies_or_medical_flags"
  ],
  "properties": {
    "parent_guardian_name": {
      "type": "string",
      "minLength": 1
    },
    "parent_email": {
      "type": "string",
      "format": "email"
    },
    "parent_phone": {
      "type": "string",
      "minLength": 7
    },
    "child_age": {
      "type": "string",
      "description": "Child age in months or years. G&J serves children ages 0-6."
    },
    "requested_care_date": {
      "type": "string",
      "format": "date"
    },
    "requested_drop_off_time": {
      "type": "string",
      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
      "description": "24-hour local time. Normal drop-off window is 06:30-08:30."
    },
    "requested_pick_up_time": {
      "type": "string",
      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
      "description": "24-hour local time. Pick-up must be no later than 18:30 unless otherwise confirmed by G&J."
    },
    "emergency_contact_available": {
      "type": "boolean"
    },
    "allergies_or_medical_flags": {
      "type": "string",
      "description": "Use 'none known' if there are no known allergies or medical flags."
    },
    "employer_or_benefit_program": {
      "type": "string",
      "description": "Optional employer, benefits administrator, or emergency-care program context."
    },
    "notes": {
      "type": "string"
    },
    "agent_disclosure": {
      "type": "string",
      "description": "Optional note identifying the agent or system preparing the request."
    }
  }
}
