addedOutput schema / oneOf
Added value: +[
+ {
+ "properties": {
+ "data_as_of": {
+ "type": "string"
+ },
+ "facilities": {
+ "description": "Complete facility records",
+ "items": {
+ "properties": {
+ "city": {
+ "description": "City location",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "facility_id": {
+ "description": "Facility identifier",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "industry_type": {
+ "description": "Industry classification",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "latitude": {
+ "description": "Geographic latitude",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "longitude": {
+ "description": "Geographic longitude",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Facility name",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "state": {
+ "description": "State name",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "total_ghg_emissions_mt_co2e": {
+ "description": "Total GHG emissions in metric tons CO2 equivalent",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "year": {
+ "description": "Reporting year",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "zip": {
+ "description": "ZIP code",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "facility_count": {
+ "description": "Total number of facilities returned",
+ "type": "number"
+ },
+ "found": {
+ "description": "Present and true on an answer; a miss is the found:false branch.",
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "sectors": {
+ "description": "Emissions aggregated by industry sector",
+ "items": {
+ "properties": {
+ "facility_count": {
+ "description": "Number of facilities in this sector",
+ "type": "number"
+ },
+ "sector": {
+ "description": "Industry sector name",
+ "type": "string"
+ },
+ "total_emissions_mt_co2e": {
+ "description": "Aggregated emissions for sector in metric tons CO2e",
+ "type": "number"
+ }
+ },
+ "required": [
+ "sector",
+ "facility_count",
+ "total_emissions_mt_co2e"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "state": {
+ "description": "State name searched",
+ "type": "string"
+ },
+ "total_emissions_mt_co2e": {
+ "type": "number"
+ },
+ "unit": {
+ "type": "string"
+ },
+ "year": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "state",
+ "facility_count",
+ "sectors"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
+ "properties": {
+ "found": {
+ "enum": [
+ false
+ ],
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "found"
+ ],
+ "type": "object"
+ }
+]
removedOutput schema / properties
Removed value: -{
- "data_as_of": {
- "type": "string"
- },
- "facilities": {
- "description": "Complete facility records",
- "items": {
- "properties": {
- "city": {
- "description": "City location",
- "type": [
- "string",
- "null"
- ]
- },
- "facility_id": {
- "description": "Facility identifier",
- "type": [
- "number",
- "null"
- ]
- },
- "industry_type": {
- "description": "Industry classification",
- "type": [
- "string",
- "null"
- ]
- },
- "latitude": {
- "description": "Geographic latitude",
- "type": [
- "number",
- "null"
- ]
- },
- "longitude": {
- "description": "Geographic longitude",
- "type": [
- "number",
- "null"
- ]
- },
- "name": {
- "description": "Facility name",
- "type": [
- "string",
- "null"
- ]
- },
- "state": {
- "description": "State name",
- "type": [
- "string",
- "null"
- ]
- },
- "total_ghg_emissions_mt_co2e": {
- "description": "Total GHG emissions in metric tons CO2 equivalent",
- "type": [
- "number",
- "null"
- ]
- },
- "year": {
- "description": "Reporting year",
- "type": [
- "number",
- "null"
- ]
- },
- "zip": {
- "description": "ZIP code",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "facility_count": {
- "description": "Total number of facilities returned",
- "type": "number"
- },
- "sectors": {
- "description": "Emissions aggregated by industry sector",
- "items": {
- "properties": {
- "facility_count": {
- "description": "Number of facilities in this sector",
- "type": "number"
- },
- "sector": {
- "description": "Industry sector name",
- "type": "string"
- },
- "total_emissions_mt_co2e": {
- "description": "Aggregated emissions for sector in metric tons CO2e",
- "type": "number"
- }
- },
- "required": [
- "sector",
- "facility_count",
- "total_emissions_mt_co2e"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "state": {
- "description": "State name searched",
- "type": "string"
- },
- "total_emissions_mt_co2e": {
- "type": "number"
- },
- "unit": {
- "type": "string"
- },
- "year": {
- "type": "number"
- }
-}