{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://recit.dev/schema/v1/bible.json",
  "x-recit-stability": "preview",
  "type": "object",
  "properties": {
    "$schema": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "const": "bible"
    },
    "version": {
      "type": "number",
      "const": 1
    },
    "meta": {
      "type": "object",
      "properties": {
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {
                "type": "string"
              }
            }
          ]
        },
        "lang": {
          "type": "string",
          "minLength": 2
        }
      },
      "required": [
        "title"
      ],
      "additionalProperties": false
    },
    "settings": {
      "type": "object",
      "properties": {
        "promptLang": {
          "type": "string",
          "minLength": 2
        },
        "style": {
          "type": "string",
          "pattern": "^[a-z0-9][\\w-]*$"
        },
        "beats": {
          "type": "string",
          "pattern": "^[a-z0-9][\\w-]*$"
        }
      },
      "additionalProperties": false
    },
    "entries": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "aliases": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                ]
              },
              "summary": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "body": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "see": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "source": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "license": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              },
              "entry": {
                "type": "string",
                "const": "character"
              },
              "identity": {
                "type": "string",
                "minLength": 1
              },
              "traits": {
                "type": "object",
                "properties": {
                  "species": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "palette": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string",
                          "pattern": "^[a-z][\\w-]*$"
                        },
                        "additionalProperties": {
                          "type": "string"
                        }
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "voice": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "forbidden": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "values": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "want": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "need": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "wound": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "lie": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "arc": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "contradiction": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "fear": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "visual-token": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "string"
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "died-in": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "string",
                        "pattern": "^[a-z0-9][\\w-]*$"
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "poses": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z0-9][\\w-]*$"
                    },
                    "label": {
                      "type": "string",
                      "minLength": 1
                    },
                    "expression": {
                      "type": "string",
                      "pattern": "^[a-z0-9][\\w-]*$"
                    },
                    "view": {
                      "type": "string",
                      "enum": [
                        "front",
                        "side"
                      ]
                    },
                    "mirror": {
                      "type": "boolean"
                    },
                    "parts": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[a-z0-9][\\w-]*$"
                      },
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "rotate": {
                            "type": "number"
                          },
                          "dx": {
                            "type": "number"
                          },
                          "dy": {
                            "type": "number"
                          },
                          "scale": {
                            "type": "number",
                            "exclusiveMinimum": 0
                          },
                          "bend": {
                            "type": "number"
                          },
                          "hidden": {
                            "type": "boolean"
                          }
                        },
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                }
              },
              "expressions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z0-9][\\w-]*$"
                    },
                    "label": {
                      "type": "string",
                      "minLength": 1
                    },
                    "eyes": {
                      "type": "string",
                      "enum": [
                        "open",
                        "wide",
                        "closed",
                        "happy",
                        "look-l",
                        "look-r"
                      ]
                    },
                    "brows": {
                      "type": "string",
                      "enum": [
                        "flat",
                        "up",
                        "down",
                        "none"
                      ]
                    },
                    "mouth": {
                      "type": "string",
                      "enum": [
                        "smile",
                        "smile-wide",
                        "o",
                        "flat",
                        "oops",
                        "none"
                      ]
                    },
                    "parts": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "pattern": "^[a-z0-9][\\w-]*$"
                      },
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "rotate": {
                            "type": "number"
                          },
                          "dx": {
                            "type": "number"
                          },
                          "dy": {
                            "type": "number"
                          },
                          "scale": {
                            "type": "number",
                            "exclusiveMinimum": 0
                          },
                          "bend": {
                            "type": "number"
                          },
                          "hidden": {
                            "type": "boolean"
                          }
                        },
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                }
              },
              "avoid": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "forbid": {
                "type": "object",
                "properties": {
                  "eyes": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "open",
                        "wide",
                        "closed",
                        "happy",
                        "look-l",
                        "look-r"
                      ]
                    }
                  },
                  "brows": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "flat",
                        "up",
                        "down",
                        "none"
                      ]
                    }
                  },
                  "mouth": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "smile",
                        "smile-wide",
                        "o",
                        "flat",
                        "oops",
                        "none"
                      ]
                    }
                  }
                },
                "additionalProperties": false,
                "x-recit-stability": "preview"
              },
              "references": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "src": {
                      "type": "string",
                      "minLength": 1
                    },
                    "role": {
                      "type": "string",
                      "enum": [
                        "canonical",
                        "turnaround",
                        "style",
                        "set"
                      ]
                    }
                  },
                  "required": [
                    "src",
                    "role"
                  ],
                  "additionalProperties": false
                }
              },
              "sheet": {
                "type": "object",
                "properties": {
                  "src": {
                    "type": "string",
                    "minLength": 1
                  },
                  "layout": {
                    "type": "string",
                    "enum": [
                      "codex-pet-v1"
                    ]
                  }
                },
                "required": [
                  "src",
                  "layout"
                ],
                "additionalProperties": false
              },
              "model": {
                "type": "object",
                "properties": {
                  "parts": {
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^[a-z0-9][\\w-]*$"
                        },
                        "shape": {
                          "type": "string",
                          "enum": [
                            "ellipse",
                            "rect",
                            "capsule",
                            "pear",
                            "cloud",
                            "limb",
                            "mitten",
                            "foot",
                            "path"
                          ]
                        },
                        "slot": {
                          "type": "string",
                          "enum": [
                            "eyes",
                            "brows",
                            "mouth"
                          ]
                        },
                        "w": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "h": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "parent": {
                          "type": "string",
                          "pattern": "^[a-z0-9][\\w-]*$"
                        },
                        "at": {
                          "type": "array",
                          "prefixItems": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            }
                          ],
                          "items": false,
                          "minItems": 2,
                          "maxItems": 2
                        },
                        "pivot": {
                          "type": "array",
                          "prefixItems": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "number"
                            }
                          ],
                          "items": false,
                          "minItems": 2,
                          "maxItems": 2
                        },
                        "z": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "fill": {
                          "type": "string",
                          "pattern": "^[a-z][\\w-]*$"
                        },
                        "stroke": {
                          "type": "string",
                          "pattern": "^[a-z][\\w-]*$"
                        },
                        "d": {
                          "type": "string",
                          "pattern": "^\\s*M[\\s\\d.,eE+-]*(?:[MLHVCSQTZ][\\s\\d.,eE+-]*)*$"
                        },
                        "lobes": {
                          "type": "integer",
                          "minimum": 3,
                          "maximum": 12
                        },
                        "side": {
                          "type": "object",
                          "properties": {
                            "shape": {
                              "type": "string",
                              "enum": [
                                "ellipse",
                                "rect",
                                "capsule",
                                "pear",
                                "cloud",
                                "limb",
                                "mitten",
                                "foot",
                                "path"
                              ]
                            },
                            "w": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "h": {
                              "type": "number",
                              "exclusiveMinimum": 0
                            },
                            "at": {
                              "type": "array",
                              "prefixItems": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "number"
                                }
                              ],
                              "items": false,
                              "minItems": 2,
                              "maxItems": 2
                            },
                            "pivot": {
                              "type": "array",
                              "prefixItems": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "number"
                                }
                              ],
                              "items": false,
                              "minItems": 2,
                              "maxItems": 2
                            },
                            "z": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "d": {
                              "type": "string",
                              "pattern": "^\\s*M[\\s\\d.,eE+-]*(?:[MLHVCSQTZ][\\s\\d.,eE+-]*)*$"
                            },
                            "hidden": {
                              "type": "boolean"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "renders": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^[a-z0-9][\\w-]*$"
                        },
                        "kind": {
                          "type": "string",
                          "enum": [
                            "vector",
                            "pixel",
                            "sheet",
                            "frames"
                          ]
                        },
                        "stroke": {
                          "type": "string",
                          "pattern": "^[a-z][\\w-]*$"
                        },
                        "width": {
                          "type": "number",
                          "exclusiveMinimum": 0,
                          "maximum": 4
                        },
                        "shade": {
                          "type": "string",
                          "enum": [
                            "none",
                            "cel"
                          ]
                        },
                        "size": {
                          "type": "integer",
                          "minimum": 8,
                          "maximum": 128
                        },
                        "outline": {
                          "type": "string",
                          "pattern": "^[a-z][\\w-]*$"
                        },
                        "grids": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "pose": {
                                "type": "string",
                                "pattern": "^[a-z0-9][\\w-]*$"
                              },
                              "legend": {
                                "type": "object",
                                "propertyNames": {
                                  "type": "string"
                                },
                                "additionalProperties": {
                                  "type": "string",
                                  "pattern": "^[a-z][\\w-]*$"
                                }
                              },
                              "rows": {
                                "minItems": 1,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "minLength": 1
                                }
                              }
                            },
                            "required": [
                              "pose",
                              "legend",
                              "rows"
                            ],
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "id",
                        "kind"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "variants": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^[a-z0-9][\\w-]*$"
                        },
                        "label": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "type": "string"
                              }
                            }
                          ]
                        },
                        "palette": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "pattern": "^[a-z][\\w-]*$"
                          },
                          "additionalProperties": {
                            "type": "string"
                          }
                        },
                        "hide": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^[a-z0-9][\\w-]*$"
                          }
                        },
                        "scale": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        }
                      },
                      "required": [
                        "id"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "cycles": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "pattern": "^[a-z0-9][\\w-]*$"
                        },
                        "label": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "object",
                              "propertyNames": {
                                "type": "string"
                              },
                              "additionalProperties": {
                                "type": "string"
                              }
                            }
                          ]
                        },
                        "fps": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 60
                        },
                        "loop": {
                          "type": "boolean"
                        },
                        "parts": {
                          "minItems": 1,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "pattern": "^[a-z0-9][\\w-]*$"
                          }
                        },
                        "keys": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "at": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              "pose": {
                                "type": "string",
                                "pattern": "^[a-z0-9][\\w-]*$"
                              },
                              "expression": {
                                "type": "string",
                                "pattern": "^[a-z0-9][\\w-]*$"
                              },
                              "ease": {
                                "type": "string",
                                "enum": [
                                  "linear",
                                  "in",
                                  "out",
                                  "in-out",
                                  "step"
                                ]
                              }
                            },
                            "required": [
                              "at",
                              "pose"
                            ],
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "id",
                        "keys"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "parts"
                ],
                "additionalProperties": false,
                "x-recit-stability": "preview"
              }
            },
            "required": [
              "id",
              "name",
              "entry"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "aliases": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                ]
              },
              "summary": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "body": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "see": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "source": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "license": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              },
              "entry": {
                "type": "string",
                "const": "set"
              },
              "identity": {
                "type": "string",
                "minLength": 1
              },
              "traits": {
                "type": "object",
                "properties": {
                  "time": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "light": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "ambience": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "palette": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string",
                          "pattern": "^[a-z][\\w-]*$"
                        },
                        "additionalProperties": {
                          "type": "string"
                        }
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "props": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "shots": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z0-9][\\w-]*$"
                    },
                    "label": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                }
              },
              "references": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "src": {
                      "type": "string",
                      "minLength": 1
                    },
                    "role": {
                      "type": "string",
                      "enum": [
                        "canonical",
                        "turnaround",
                        "style",
                        "set"
                      ]
                    }
                  },
                  "required": [
                    "src",
                    "role"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "name",
              "entry"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "aliases": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                ]
              },
              "summary": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "body": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "see": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "source": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "license": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              },
              "entry": {
                "type": "string",
                "const": "style"
              },
              "identity": {
                "type": "string",
                "minLength": 1
              },
              "references": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "src": {
                      "type": "string",
                      "minLength": 1
                    },
                    "role": {
                      "type": "string",
                      "enum": [
                        "canonical",
                        "turnaround",
                        "style",
                        "set"
                      ]
                    }
                  },
                  "required": [
                    "src",
                    "role"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "name",
              "entry",
              "identity"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "aliases": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                ]
              },
              "summary": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "body": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "see": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "source": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "license": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              },
              "entry": {
                "type": "string",
                "const": "prompt"
              },
              "subject": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "set": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "style": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "shot": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "pose": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "expression": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "animation": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$",
                "x-recit-stability": "preview"
              },
              "aspect": {
                "type": "string",
                "pattern": "^\\d+:\\d+$"
              },
              "action": {
                "type": "string",
                "minLength": 1
              },
              "seed": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              "output": {
                "type": "object",
                "properties": {
                  "path": {
                    "type": "string",
                    "minLength": 1
                  },
                  "background": {
                    "type": "string",
                    "enum": [
                      "transparent",
                      "chroma",
                      "scene"
                    ]
                  }
                },
                "required": [
                  "path",
                  "background"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "entry",
              "subject",
              "shot",
              "aspect",
              "action"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "aliases": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                ]
              },
              "summary": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "body": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "see": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "source": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "license": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              },
              "entry": {
                "type": "string",
                "const": "beats"
              },
              "beats": {
                "minItems": 1,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "pattern": "^[a-z0-9][\\w-]*$"
                    },
                    "description": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {
                            "type": "string"
                          }
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "description"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "id",
              "entry",
              "beats"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "aliases": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                ]
              },
              "summary": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "body": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "see": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "source": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "license": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              },
              "entry": {
                "type": "string",
                "const": "brief"
              },
              "traits": {
                "type": "object",
                "properties": {
                  "spark": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "what-if": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "logline": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "question": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "premise": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "counter-premise": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "stakes-personal": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "stakes-relational": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "stakes-world": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "audience": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "character-word": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "event-word": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "references": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "limits": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "name",
              "entry"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "aliases": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                ]
              },
              "summary": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "body": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "see": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "source": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "license": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              },
              "entry": {
                "type": "string",
                "const": "rule"
              },
              "traits": {
                "type": "object",
                "properties": {
                  "cost": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "taboo": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "name",
              "entry"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "aliases": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                ]
              },
              "summary": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "body": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "see": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "source": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "license": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              },
              "entry": {
                "type": "string",
                "const": "series"
              },
              "traits": {
                "type": "object",
                "properties": {
                  "engine": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "season-goal": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "contract": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "rhythm": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  "leads": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "object",
                            "propertyNames": {
                              "type": "string"
                            },
                            "additionalProperties": {
                              "type": "string"
                            }
                          }
                        ]
                      },
                      "inferred": {
                        "type": "boolean",
                        "const": true
                      },
                      "source": {
                        "type": "string",
                        "minLength": 1
                      }
                    },
                    "required": [
                      "value"
                    ],
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "name",
              "entry"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "aliases": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                ]
              },
              "summary": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "body": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "see": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "source": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "license": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              },
              "status": {
                "type": "string",
                "enum": [
                  "planned",
                  "planted",
                  "paid-off",
                  "dropped"
                ]
              },
              "plantedIn": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "paidIn": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "entry": {
                "type": "string",
                "const": "promise"
              }
            },
            "required": [
              "id",
              "name",
              "status",
              "entry"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "aliases": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1
                      }
                    }
                  }
                ]
              },
              "summary": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "body": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "string"
                    }
                  }
                ]
              },
              "tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "see": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "source": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  },
                  "license": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              },
              "status": {
                "type": "string",
                "enum": [
                  "planned",
                  "planted",
                  "paid-off",
                  "dropped"
                ]
              },
              "plantedIn": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "paidIn": {
                "type": "string",
                "pattern": "^[a-z0-9][\\w-]*$"
              },
              "entry": {
                "type": "string",
                "const": "clue"
              }
            },
            "required": [
              "id",
              "name",
              "status",
              "entry"
            ],
            "additionalProperties": false
          }
        ]
      }
    }
  },
  "required": [
    "kind",
    "version",
    "meta",
    "entries"
  ],
  "additionalProperties": false
}
