{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trendsfast/json-schema/trendsfast-creative-research-status-v1-schema.json",
  "title": "CreativeResearchStatusV1",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trendsfast-projects-api-openapi.yml#/components/schemas/CreativeResearchStatusV1",
  "oneOf": [
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "status_url": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2048
        },
        "status": {
          "type": "string",
          "enum": [
            "QUEUED",
            "RUNNING"
          ]
        },
        "poll_after_seconds": {
          "type": "number",
          "const": 30
        }
      },
      "required": [
        "id",
        "status_url",
        "status",
        "poll_after_seconds"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "status_url": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2048
        },
        "status": {
          "type": "string",
          "enum": [
            "SUCCEEDED",
            "DEGRADED"
          ]
        },
        "result": {
          "type": "object",
          "properties": {
            "version": {
              "type": "string",
              "const": "creative-research-result-v1"
            },
            "observations": {
              "maxItems": 12,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "string",
                    "const": "creative-observation-v1"
                  },
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 160
                  },
                  "platform": {
                    "type": "string",
                    "enum": [
                      "TIKTOK",
                      "YOUTUBE",
                      "YOUTUBE_SHORTS",
                      "INSTAGRAM",
                      "FACEBOOK"
                    ]
                  },
                  "discoveryMethod": {
                    "type": "string",
                    "enum": [
                      "INSTAGRAM_POPULAR",
                      "INSTAGRAM_INDEXED_REELS"
                    ]
                  },
                  "canonicalUrl": {
                    "type": "string",
                    "maxLength": 2048,
                    "format": "uri"
                  },
                  "publishedAt": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "observedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                  },
                  "ageHours": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 8760
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "viewCount": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "likeCount": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "commentCount": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "shareCount": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "saveCount": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "durationSeconds": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 86400
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "visualPattern": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "OBSERVED",
                          "NOT_OBSERVED",
                          "UNKNOWN"
                        ]
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1000
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "basis": {
                        "type": "string",
                        "enum": [
                          "PROVIDER_VISUAL_METADATA",
                          "REVIEWED_FRAME_EVIDENCE",
                          "NOT_AVAILABLE"
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "description",
                      "basis"
                    ],
                    "additionalProperties": false
                  },
                  "proofDevice": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "OBSERVED",
                          "NOT_OBSERVED",
                          "UNKNOWN"
                        ]
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1000
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "basis": {
                        "type": "string",
                        "enum": [
                          "PROVIDER_VISUAL_METADATA",
                          "REVIEWED_FRAME_EVIDENCE",
                          "NOT_AVAILABLE"
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "description",
                      "basis"
                    ],
                    "additionalProperties": false
                  },
                  "screenDemoBehavior": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "OBSERVED",
                          "NOT_OBSERVED",
                          "UNKNOWN"
                        ]
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1000
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "basis": {
                        "type": "string",
                        "enum": [
                          "PROVIDER_VISUAL_METADATA",
                          "REVIEWED_FRAME_EVIDENCE",
                          "NOT_AVAILABLE"
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "description",
                      "basis"
                    ],
                    "additionalProperties": false
                  },
                  "actualObservationWindow": {
                    "type": "object",
                    "properties": {
                      "requestedHorizon": {
                        "type": "string",
                        "enum": [
                          "CURRENT_BREAKOUT",
                          "PROVEN_PATTERN",
                          "CREATOR_BASELINE"
                        ]
                      },
                      "earliestPublishedAt": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "latestPublishedAt": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "minimumAgeHours": {
                        "anyOf": [
                          {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 8760
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "maximumAgeHours": {
                        "anyOf": [
                          {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 8760
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "requestedHorizon",
                      "earliestPublishedAt",
                      "latestPublishedAt",
                      "minimumAgeHours",
                      "maximumAgeHours"
                    ],
                    "additionalProperties": false
                  },
                  "cacheState": {
                    "type": "string",
                    "enum": [
                      "FRESH",
                      "CACHED",
                      "UNKNOWN"
                    ]
                  },
                  "cachedAt": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "limitations": {
                    "minItems": 1,
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "required": [
                  "version",
                  "id",
                  "platform",
                  "canonicalUrl",
                  "publishedAt",
                  "observedAt",
                  "ageHours",
                  "viewCount",
                  "likeCount",
                  "commentCount",
                  "shareCount",
                  "saveCount",
                  "durationSeconds",
                  "visualPattern",
                  "proofDevice",
                  "screenDemoBehavior",
                  "actualObservationWindow",
                  "cacheState",
                  "cachedAt",
                  "limitations"
                ],
                "additionalProperties": false
              }
            },
            "patterns": {
              "maxItems": 12,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "version": {
                    "type": "string",
                    "const": "creative-pattern-v1"
                  },
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 160
                  },
                  "platforms": {
                    "minItems": 1,
                    "maxItems": 3,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "TIKTOK",
                        "YOUTUBE",
                        "YOUTUBE_SHORTS",
                        "INSTAGRAM",
                        "FACEBOOK"
                      ]
                    }
                  },
                  "topic": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 500
                  },
                  "hookType": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 500
                  },
                  "openingTension": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "format": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 500
                  },
                  "narrativeArc": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "pacing": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 500
                  },
                  "visualPattern": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "OBSERVED",
                          "NOT_OBSERVED",
                          "UNKNOWN"
                        ]
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1000
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "basis": {
                        "type": "string",
                        "enum": [
                          "PROVIDER_VISUAL_METADATA",
                          "REVIEWED_FRAME_EVIDENCE",
                          "NOT_AVAILABLE"
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "description",
                      "basis"
                    ],
                    "additionalProperties": false
                  },
                  "proofDevice": {
                    "type": "object",
                    "properties": {
                      "state": {
                        "type": "string",
                        "enum": [
                          "OBSERVED",
                          "NOT_OBSERVED",
                          "UNKNOWN"
                        ]
                      },
                      "description": {
                        "anyOf": [
                          {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 1000
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "basis": {
                        "type": "string",
                        "enum": [
                          "PROVIDER_VISUAL_METADATA",
                          "REVIEWED_FRAME_EVIDENCE",
                          "NOT_AVAILABLE"
                        ]
                      }
                    },
                    "required": [
                      "state",
                      "description",
                      "basis"
                    ],
                    "additionalProperties": false
                  },
                  "captionPattern": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "ctaPattern": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  },
                  "cutRhythm": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 500
                  },
                  "recurrence": {
                    "type": "object",
                    "properties": {
                      "observationCount": {
                        "type": "integer",
                        "minimum": 2,
                        "maximum": 12
                      },
                      "independentCreatorCount": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 12
                      },
                      "platformCount": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 3
                      }
                    },
                    "required": [
                      "observationCount",
                      "independentCreatorCount",
                      "platformCount"
                    ],
                    "additionalProperties": false
                  },
                  "nicheRelevance": {
                    "type": "string",
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH",
                      "UNKNOWN"
                    ]
                  },
                  "saturation": {
                    "type": "string",
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH",
                      "UNKNOWN"
                    ]
                  },
                  "sourceQuality": {
                    "type": "string",
                    "enum": [
                      "LOW",
                      "MEDIUM",
                      "HIGH",
                      "INSUFFICIENT"
                    ]
                  },
                  "observedAssetReferences": {
                    "minItems": 2,
                    "maxItems": 12,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160
                    }
                  },
                  "doNotCopyGuidance": {
                    "minItems": 1,
                    "maxItems": 12,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 1000
                    }
                  },
                  "limitations": {
                    "minItems": 1,
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    }
                  }
                },
                "required": [
                  "version",
                  "id",
                  "platforms",
                  "topic",
                  "hookType",
                  "openingTension",
                  "format",
                  "narrativeArc",
                  "pacing",
                  "visualPattern",
                  "proofDevice",
                  "captionPattern",
                  "ctaPattern",
                  "cutRhythm",
                  "recurrence",
                  "nicheRelevance",
                  "saturation",
                  "sourceQuality",
                  "observedAssetReferences",
                  "doNotCopyGuidance",
                  "limitations"
                ],
                "additionalProperties": false
              }
            },
            "recommendedPattern": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "string",
                      "const": "creative-pattern-v1"
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160
                    },
                    "platforms": {
                      "minItems": 1,
                      "maxItems": 3,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "enum": [
                          "TIKTOK",
                          "YOUTUBE",
                          "YOUTUBE_SHORTS",
                          "INSTAGRAM",
                          "FACEBOOK"
                        ]
                      }
                    },
                    "topic": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 500
                    },
                    "hookType": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 500
                    },
                    "openingTension": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 4000
                    },
                    "format": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 500
                    },
                    "narrativeArc": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 4000
                    },
                    "pacing": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 500
                    },
                    "visualPattern": {
                      "type": "object",
                      "properties": {
                        "state": {
                          "type": "string",
                          "enum": [
                            "OBSERVED",
                            "NOT_OBSERVED",
                            "UNKNOWN"
                          ]
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 1000
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "basis": {
                          "type": "string",
                          "enum": [
                            "PROVIDER_VISUAL_METADATA",
                            "REVIEWED_FRAME_EVIDENCE",
                            "NOT_AVAILABLE"
                          ]
                        }
                      },
                      "required": [
                        "state",
                        "description",
                        "basis"
                      ],
                      "additionalProperties": false
                    },
                    "proofDevice": {
                      "type": "object",
                      "properties": {
                        "state": {
                          "type": "string",
                          "enum": [
                            "OBSERVED",
                            "NOT_OBSERVED",
                            "UNKNOWN"
                          ]
                        },
                        "description": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 1000
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "basis": {
                          "type": "string",
                          "enum": [
                            "PROVIDER_VISUAL_METADATA",
                            "REVIEWED_FRAME_EVIDENCE",
                            "NOT_AVAILABLE"
                          ]
                        }
                      },
                      "required": [
                        "state",
                        "description",
                        "basis"
                      ],
                      "additionalProperties": false
                    },
                    "captionPattern": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 4000
                    },
                    "ctaPattern": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 4000
                    },
                    "cutRhythm": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 500
                    },
                    "recurrence": {
                      "type": "object",
                      "properties": {
                        "observationCount": {
                          "type": "integer",
                          "minimum": 2,
                          "maximum": 12
                        },
                        "independentCreatorCount": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 12
                        },
                        "platformCount": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 3
                        }
                      },
                      "required": [
                        "observationCount",
                        "independentCreatorCount",
                        "platformCount"
                      ],
                      "additionalProperties": false
                    },
                    "nicheRelevance": {
                      "type": "string",
                      "enum": [
                        "LOW",
                        "MEDIUM",
                        "HIGH",
                        "UNKNOWN"
                      ]
                    },
                    "saturation": {
                      "type": "string",
                      "enum": [
                        "LOW",
                        "MEDIUM",
                        "HIGH",
                        "UNKNOWN"
                      ]
                    },
                    "sourceQuality": {
                      "type": "string",
                      "enum": [
                        "LOW",
                        "MEDIUM",
                        "HIGH",
                        "INSUFFICIENT"
                      ]
                    },
                    "observedAssetReferences": {
                      "minItems": 2,
                      "maxItems": 12,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 160
                      }
                    },
                    "doNotCopyGuidance": {
                      "minItems": 1,
                      "maxItems": 12,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 1000
                      }
                    },
                    "limitations": {
                      "minItems": 1,
                      "maxItems": 20,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      }
                    }
                  },
                  "required": [
                    "version",
                    "id",
                    "platforms",
                    "topic",
                    "hookType",
                    "openingTension",
                    "format",
                    "narrativeArc",
                    "pacing",
                    "visualPattern",
                    "proofDevice",
                    "captionPattern",
                    "ctaPattern",
                    "cutRhythm",
                    "recurrence",
                    "nicheRelevance",
                    "saturation",
                    "sourceQuality",
                    "observedAssetReferences",
                    "doNotCopyGuidance",
                    "limitations"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "supportingEvidence": {
              "maxItems": 24,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "observationId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 160
                  },
                  "platform": {
                    "type": "string",
                    "enum": [
                      "TIKTOK",
                      "YOUTUBE",
                      "YOUTUBE_SHORTS",
                      "INSTAGRAM",
                      "FACEBOOK"
                    ]
                  },
                  "canonicalUrl": {
                    "type": "string",
                    "maxLength": 2048,
                    "format": "uri"
                  },
                  "observedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                  },
                  "reason": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  }
                },
                "required": [
                  "observationId",
                  "platform",
                  "canonicalUrl",
                  "observedAt",
                  "reason"
                ],
                "additionalProperties": false
              }
            },
            "actualObservedWindows": {
              "maxItems": 3,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "requestedHorizon": {
                    "type": "string",
                    "enum": [
                      "CURRENT_BREAKOUT",
                      "PROVEN_PATTERN",
                      "CREATOR_BASELINE"
                    ]
                  },
                  "earliestPublishedAt": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "latestPublishedAt": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "minimumAgeHours": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 8760
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "maximumAgeHours": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 8760
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "requestedHorizon",
                  "earliestPublishedAt",
                  "latestPublishedAt",
                  "minimumAgeHours",
                  "maximumAgeHours"
                ],
                "additionalProperties": false
              }
            },
            "limitations": {
              "minItems": 1,
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              }
            }
          },
          "required": [
            "version",
            "observations",
            "patterns",
            "recommendedPattern",
            "supportingEvidence",
            "actualObservedWindows",
            "limitations"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "id",
        "status_url",
        "status",
        "result"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 160
        },
        "status_url": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2048
        },
        "status": {
          "type": "string",
          "const": "FAILED"
        },
        "error": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160
            },
            "message": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            }
          },
          "required": [
            "code",
            "message"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "id",
        "status_url",
        "status",
        "error"
      ],
      "additionalProperties": false
    }
  ]
}