changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "artifact_sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "facts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "classification": {
- "additionalProperties": false,
- "properties": {
- "breed_type_code": {
- "enum": [
- "meat_goat",
- "dairy_miniature",
- "angora",
- "hair_sheep",
- "wool_sheep",
- "beef_cattle",
- "dairy_cattle",
- "crossbred_cattle",
- "not_reported"
- ],
- "type": "string"
- },
- "category_key": {
- "minLength": 1,
- "type": "string"
- },
- "class_code": {
- "enum": [
- "kids",
- "nannies_does",
- "bucks_billies",
- "wethers_muttons",
- "lambs",
- "ewes",
- "rams_bucks",
- "steers",
- "heifers",
- "cows",
- "bulls",
- "calves",
- "cow_calf_pairs",
- "other_cattle"
- ],
- "type": "string"
- },
- "life_stage_code": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$",
- "type": "string"
- },
- "purpose_code": {
- "enum": [
- "slaughter",
- "replacement",
- "stocker",
- "feeder",
- "show",
- "breeding",
- "unknown"
- ],
- "type": "string"
- },
- "quality_grade_code": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$",
- "type": "string"
- },
- "sex_code": {
- "minLength": 1,
- "pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$",
- "type": "string"
- }
- },
- "required": [
- "category_key",
- "class_code",
- "purpose_code",
- "breed_type_code",
- "sex_code",
- "life_stage_code",
- "quality_grade_code"
- ],
- "type": "object"
- },
- "head_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "qualifiers": {
- "items": {
- "maxLength": 300,
- "type": "string"
- },
- "maxItems": 12,
- "type": "array"
- },
- "quote": {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "const": "USD",
- "type": "string"
- },
- "high": {
- "anyOf": [
- {
- "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "low": {
- "anyOf": [
- {
- "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "measurement_basis": {
- "enum": [
- "liveweight",
- "other"
- ],
- "type": "string"
- },
- "reported_average": {
- "anyOf": [
- {
- "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "reported_weighted_average": {
- "anyOf": [
- {
- "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": {
- "enum": [
- "reported_range",
- "reported_average",
- "reported_weighted_average",
- "publisher_top_of_market_range"
- ],
- "type": "string"
- },
- "unit": {
- "enum": [
- "USD_PER_CWT",
- "USD_PER_LB",
- "USD_PER_HEAD",
- "USD_PER_PAIR"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "low",
- "high",
- "reported_average",
- "reported_weighted_average",
- "currency",
- "unit",
- "measurement_basis"
- ],
- "type": "object"
- },
- "raw_class": {
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- },
- "row": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "weight": {
- "additionalProperties": false,
- "properties": {
- "lower": {
- "anyOf": [
- {
- "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "lower_inclusive": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "reported_average": {
- "anyOf": [
- {
- "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "unit": {
- "anyOf": [
- {
- "const": "lb",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "upper": {
- "anyOf": [
- {
- "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "upper_inclusive": {
- "type": [
- "boolean",
- "null"
- ]
- }
- },
- "required": [
- "lower",
- "upper",
- "lower_inclusive",
- "upper_inclusive",
- "reported_average",
- "unit"
- ],
- "type": "object"
- }
- },
- "required": [
- "row",
- "classification",
- "raw_class",
- "qualifiers",
- "weight",
- "quote",
- "head_count"
- ],
- "type": "object"
- },
- "maxItems": 1000,
- "minItems": 1,
- "type": "array"
- },
- "id": {
- "pattern": "^usda-1955:[a-f0-9]{64}$",
- "type": "string"
- },
- "period_begin": {
- "format": "date",
- "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])))$",
- "type": "string"
- },
- "period_end": {
- "format": "date",
- "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])))$",
- "type": "string"
- },
- "published_at": {
- "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))$",
- "type": "string"
- },
- "report_status": {
- "enum": [
- "Final",
- "Corrected"
- ],
- "type": "string"
- },
- "retrieved_at": {
- "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))$",
- "type": "string"
- },
- "schema_version": {
- "const": "usda-1955-facts-v1",
- "type": "string"
- },
- "source": {
- "const": "USDA AMS · Texas Weekly Cattle Auction Summary",
- "type": "string"
- },
- "source_url": {
- "const": "https://mymarketnews.ams.usda.gov/viewReport/1955",
- "type": "string"
- },
- "state": {
- "const": "TX",
- "type": "string"
- }
- },
- "required": [
- "schema_version",
- "id",
- "source",
- "source_url",
- "state",
- "period_begin",
- "period_end",
- "published_at",
- "retrieved_at",
- "artifact_sha256",
- "report_status",
- "facts"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "artifact_sha256": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "facts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "classification": {
+ "additionalProperties": false,
+ "properties": {
+ "breed_type_code": {
+ "enum": [
+ "meat_goat",
+ "dairy_miniature",
+ "angora",
+ "hair_sheep",
+ "wool_sheep",
+ "beef_cattle",
+ "dairy_cattle",
+ "crossbred_cattle",
+ "not_reported"
+ ],
+ "type": "string"
+ },
+ "category_key": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "class_code": {
+ "enum": [
+ "unclassified_goats",
+ "unclassified_sheep",
+ "kids",
+ "nannies_does",
+ "bucks_billies",
+ "wethers_muttons",
+ "lambs",
+ "ewes",
+ "rams_bucks",
+ "steers",
+ "heifers",
+ "cows",
+ "bulls",
+ "calves",
+ "cow_calf_pairs",
+ "other_cattle"
+ ],
+ "type": "string"
+ },
+ "life_stage_code": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$",
+ "type": "string"
+ },
+ "purpose_code": {
+ "enum": [
+ "slaughter",
+ "replacement",
+ "stocker",
+ "feeder",
+ "show",
+ "breeding",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "quality_grade_code": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$",
+ "type": "string"
+ },
+ "sex_code": {
+ "minLength": 1,
+ "pattern": "^[a-z][a-z0-9]*(?:_[a-z0-9]+)*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "category_key",
+ "class_code",
+ "purpose_code",
+ "breed_type_code",
+ "sex_code",
+ "life_stage_code",
+ "quality_grade_code"
+ ],
+ "type": "object"
+ },
+ "head_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "qualifiers": {
+ "items": {
+ "maxLength": 300,
+ "type": "string"
+ },
+ "maxItems": 12,
+ "type": "array"
+ },
+ "quote": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "high": {
+ "anyOf": [
+ {
+ "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "low": {
+ "anyOf": [
+ {
+ "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "measurement_basis": {
+ "enum": [
+ "liveweight",
+ "other"
+ ],
+ "type": "string"
+ },
+ "reported_average": {
+ "anyOf": [
+ {
+ "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "reported_weighted_average": {
+ "anyOf": [
+ {
+ "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": {
+ "enum": [
+ "reported_range",
+ "reported_average",
+ "reported_weighted_average",
+ "publisher_top_of_market_range"
+ ],
+ "type": "string"
+ },
+ "unit": {
+ "enum": [
+ "USD_PER_CWT",
+ "USD_PER_LB",
+ "USD_PER_HEAD",
+ "USD_PER_PAIR"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "low",
+ "high",
+ "reported_average",
+ "reported_weighted_average",
+ "currency",
+ "unit",
+ "measurement_basis"
+ ],
+ "type": "object"
+ },
+ "raw_class": {
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "row": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "weight": {
+ "additionalProperties": false,
+ "properties": {
+ "lower": {
+ "anyOf": [
+ {
+ "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "lower_inclusive": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "reported_average": {
+ "anyOf": [
+ {
+ "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "unit": {
+ "anyOf": [
+ {
+ "const": "lb",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "upper": {
+ "anyOf": [
+ {
+ "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "upper_inclusive": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "lower",
+ "upper",
+ "lower_inclusive",
+ "upper_inclusive",
+ "reported_average",
+ "unit"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "row",
+ "classification",
+ "raw_class",
+ "qualifiers",
+ "weight",
+ "quote",
+ "head_count"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1000,
+ "minItems": 1,
+ "type": "array"
+ },
+ "id": {
+ "pattern": "^usda-1955:[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "period_begin": {
+ "format": "date",
+ "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])))$",
+ "type": "string"
+ },
+ "period_end": {
+ "format": "date",
+ "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])))$",
+ "type": "string"
+ },
+ "published_at": {
+ "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))$",
+ "type": "string"
+ },
+ "report_status": {
+ "enum": [
+ "Final",
+ "Corrected"
+ ],
+ "type": "string"
+ },
+ "retrieved_at": {
+ "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))$",
+ "type": "string"
+ },
+ "schema_version": {
+ "const": "usda-1955-facts-v1",
+ "type": "string"
+ },
+ "source": {
+ "const": "USDA AMS · Texas Weekly Cattle Auction Summary",
+ "type": "string"
+ },
+ "source_url": {
+ "const": "https://mymarketnews.ams.usda.gov/viewReport/1955",
+ "type": "string"
+ },
+ "state": {
+ "const": "TX",
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema_version",
+ "id",
+ "source",
+ "source_url",
+ "state",
+ "period_begin",
+ "period_end",
+ "published_at",
+ "retrieved_at",
+ "artifact_sha256",
+ "report_status",
+ "facts"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]