changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "matches": {
+ "description": "Matched license records, empty when nothing matched",
+ "items": {
+ "properties": {
+ "inDirectorySince": {
+ "description": "ISO date the record first cleared PestPin's checks",
+ "type": "string"
+ },
+ "lastCheckedAt": {
+ "description": "Same as sourceCheckedOn when the record carries its own check date",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "licenseNumber": {
+ "description": "License number on the state record",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "licenseState": {
+ "description": "Two-letter state that issued the license",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Business name as the state record spells it",
+ "type": "string"
+ },
+ "officialSourceAgency": {
+ "description": "Name of the state agency that publishes the record",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pestpinProfile": {
+ "description": "PestPin page for this record",
+ "type": "string"
+ },
+ "sourceCheckedOn": {
+ "description": "ISO date PestPin last processed the source behind this record",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sourceCheckedOnScope": {
+ "description": "'record' when the date is this record's own last check, 'state' when it is the last time PestPin processed that state's source",
+ "enum": [
+ "record",
+ "state"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "description": "What the record said at PestPin's last check",
+ "type": "string"
+ },
+ "verifyAtOfficialSource": {
+ "description": "Official state regulator page where this record can be checked",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "verifyAtOfficialSource",
+ "sourceCheckedOn",
+ "sourceCheckedOnScope",
+ "pestpinProfile"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "note": {
+ "description": "The limits a reader must be told",
+ "type": "string"
+ },
+ "totalMatches": {
+ "description": "How many records matched in total",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "matches",
+ "totalMatches",
+ "note"
+ ],
+ "type": "object"
+}