changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "applied_question_url": {
+ "type": "string"
+ },
+ "browse_url": {
+ "type": "string"
+ },
+ "editions": {
+ "items": {
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "in_force": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "in_force"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "groups": {
+ "description": "Documents grouped by collection. Statewide: Title 24 first. Jurisdiction: the place's own documents, then those of the jurisdiction that also governs it.",
+ "items": {
+ "properties": {
+ "documents": {
+ "items": {
+ "properties": {
+ "edition": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "slug": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "title",
+ "slug"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "key": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "label",
+ "documents"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "jurisdiction": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "name"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "message": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "municipal": {
+ "description": "Statewide only: how many local ordinances are held.",
+ "properties": {
+ "document_count": {
+ "type": "integer"
+ },
+ "jurisdiction_count": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "document_count",
+ "jurisdiction_count"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "notes": {
+ "description": "Coverage caveats. Read them before telling a user a code is unavailable.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "scope": {
+ "enum": [
+ "statewide",
+ "jurisdiction"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "ok",
+ "not_found",
+ "empty",
+ "error"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+}