changedOutput schema / allOf
Previous value: -[
- {
- "description": "Fields present in every successful tool output.",
- "properties": {
- "api_version": {
- "const": "v1"
- },
- "data_freshness": {
- "additionalProperties": false,
- "properties": {
- "generated_at": {
- "format": "date-time",
- "type": "string"
- },
- "newest_last_checked_at": {
- "description": "Latest last_checked_at among rules in this response. Omitted when none of those rules have an unchanged-source check. Does not replace newest_verified_at.",
- "format": "date-time",
- "type": "string"
- },
- "newest_verified_at": {
- "format": "date",
- "type": [
- "string",
- "null"
- ]
- },
- "oldest_last_checked_at": {
- "description": "Earliest last_checked_at among rules in this response. Omitted when none of those rules have an unchanged-source check. Does not replace oldest_verified_at.",
- "format": "date-time",
- "type": "string"
- },
- "oldest_verified_at": {
- "format": "date",
- "type": [
- "string",
- "null"
- ]
- },
- "policy": {
- "description": "Human-readable freshness policy, e.g. 'Sources are re-checked daily; a rule is listed as stale when the later of verified_at and last_checked_at is more than 7 days before the response date.'",
- "type": "string"
- },
- "rules_db_version": {
- "description": "Monotonic version of the published rules set. Pattern YYYY-MM-DD.n",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}\\.[0-9]+$",
- "type": "string"
- },
- "stale_rule_ids": {
- "description": "Rules in this response whose later of verified_at and last_checked_at is older than the staleness window stated in `policy`. A missing last_checked_at does not count.",
- "items": {
- "maxLength": 120,
- "pattern": "^[a-z0-9_]+(\\.[a-z0-9_]+)+$",
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "rules_db_version",
- "generated_at",
- "oldest_verified_at",
- "newest_verified_at",
- "stale_rule_ids",
- "policy"
- ],
- "type": "object"
- },
- "generated_at": {
- "format": "date-time",
- "type": "string"
- },
- "notice": {
- "const": "HowToMakeMoneyOnSnapchat.com is an independent third party and is not affiliated with, endorsed by, or sponsored by Snap Inc. Snapchat is a trademark of Snap Inc.",
- "description": "Non-affiliation notice included in every response.",
- "type": "string"
- },
- "sources": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "last_checked_at": {
- "description": "ISO-8601 timestamp of the latest automated check that found this source's official text unchanged. Omitted when no such check is recorded. Does not replace verified_at.",
- "format": "date-time",
- "type": "string"
- },
- "publisher": {
- "type": "string"
- },
- "supports_rule_ids": {
- "items": {
- "maxLength": 120,
- "pattern": "^[a-z0-9_]+(\\.[a-z0-9_]+)+$",
- "type": "string"
- },
- "type": "array"
- },
- "title": {
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "format": "uri",
- "type": "string"
- },
- "verified_at": {
- "format": "date",
- "type": "string"
- }
- },
- "required": [
- "url",
- "publisher",
- "verified_at",
- "supports_rule_ids"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "tool": {
- "type": "string"
- },
- "warnings": {
- "description": "Plain strings. Omitted when empty. Calculation tools add a string when followers is 0 and view_time_hours_28d or spotlight_view_time_hours_28d is above 0, and when view_time_hours_28d exceeds 28 days × 24 hours × followers × 0.5. Those warnings say the figure is unusually high for your follower count, please check for a typo, and that view time can come from non-followers. They are never an error. FACT GET aliases append ignored query parameter notices to this same array. Spotlight hours above total view hours are HTTP 400 VALUE_INCONSISTENT rather than a warning.",
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "tool",
- "api_version",
- "notice",
- "generated_at",
- "sources",
- "data_freshness"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "description": "Fields present in every successful tool output.",
+ "properties": {
+ "api_version": {
+ "const": "v1"
+ },
+ "data_freshness": {
+ "additionalProperties": false,
+ "properties": {
+ "generated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "newest_last_checked_at": {
+ "description": "Latest last_checked_at among rules in this response that have an unchanged-source check. Omitted when none do. Does not mean every rule was checked. Does not replace newest_verified_at.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "newest_verified_at": {
+ "format": "date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "oldest_last_checked_at": {
+ "description": "Earliest last_checked_at among rules in this response. Omitted unless every rule in this response has an unchanged-source check, so a rule with no check is not hidden. Does not replace oldest_verified_at.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "oldest_verified_at": {
+ "format": "date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "policy": {
+ "description": "Human-readable freshness policy, e.g. 'Sources are re-checked daily; a rule is listed as stale when the later of verified_at and last_checked_at is more than 7 days before the response date.'",
+ "type": "string"
+ },
+ "rules_db_version": {
+ "description": "Monotonic version of the published rules set. Pattern YYYY-MM-DD.n",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}\\.[0-9]+$",
+ "type": "string"
+ },
+ "stale_rule_ids": {
+ "description": "Rules in this response whose later of verified_at and last_checked_at is older than the staleness window stated in `policy`. A missing last_checked_at does not count.",
+ "items": {
+ "maxLength": 120,
+ "pattern": "^[a-z0-9_]+(\\.[a-z0-9_]+)+$",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "rules_db_version",
+ "generated_at",
+ "oldest_verified_at",
+ "newest_verified_at",
+ "stale_rule_ids",
+ "policy"
+ ],
+ "type": "object"
+ },
+ "generated_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "notice": {
+ "const": "HowToMakeMoneyOnSnapchat.com is an independent third party and is not affiliated with, endorsed by, or sponsored by Snap Inc. Snapchat is a trademark of Snap Inc.",
+ "description": "Non-affiliation notice included in every response.",
+ "type": "string"
+ },
+ "sources": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "last_checked_at": {
+ "description": "ISO-8601 timestamp of the latest automated check that found this source's official text unchanged. Omitted when no such check is recorded. Does not replace verified_at.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "publisher": {
+ "type": "string"
+ },
+ "supports_rule_ids": {
+ "items": {
+ "maxLength": 120,
+ "pattern": "^[a-z0-9_]+(\\.[a-z0-9_]+)+$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "title": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "verified_at": {
+ "format": "date",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "publisher",
+ "verified_at",
+ "supports_rule_ids"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "tool": {
+ "type": "string"
+ },
+ "warnings": {
+ "description": "Plain strings. Omitted when empty. Calculation tools add a string when followers is 0 and view_time_hours_28d or spotlight_view_time_hours_28d is above 0, and when view_time_hours_28d exceeds 28 days × 24 hours × followers × 0.5. Those warnings say the figure is unusually high for your follower count, please check for a typo, and that view time can come from non-followers. They are never an error. FACT GET aliases append ignored query parameter notices to this same array. Spotlight hours above total view hours are HTTP 400 VALUE_INCONSISTENT rather than a warning.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "tool",
+ "api_version",
+ "notice",
+ "generated_at",
+ "sources",
+ "data_freshness"
+ ],
+ "type": "object"
+ }
+]