$schema: "https://json-schema.org/draft/2020-12/schema"
type: object
properties:
  processor:
    type: string
    description: "The top-level processor extracted from the expression."
  statement:
    type: string
    description: "The top-level statement part of the expression."
  expression:
    type: string
    description: "The original expression that was parsed."
  process:
    type: object
    properties:
      statement:
        type: string
        description: "The statement from the deepest nested expression."
      order:
        type: array
        items:
          type: string
        description: "An array containing the order of processors from the outermost to the innermost."
    required: 
      - statement
      - order
    description: "Details of the processing order and final statement."
  next:
    $ref: "#"
    description: "The next nested parsed expression, if applicable."
required:
  - processor
  - statement
  - expression
  - process