addedInput schema / additionalProperties
Added value: +false
addedInput schema / properties / dataset / description
Added value: +"Dataset id or slug"
addedInput schema / properties / status
Added value: +{
+ "description": "Review state; defaults to pending",
+ "enum": [
+ "pending",
+ "approved",
+ "rejected",
+ "all"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / revisions / items / $schema
Added value: +"http://json-schema.org/draft-07/schema#"
addedOutput schema / properties / revisions / items / additionalProperties
Added value: +false
addedOutput schema / properties / revisions / items / properties
Added value: +{
+ "action": {
+ "enum": [
+ "add_document",
+ "replace_document",
+ "delete_document"
+ ],
+ "type": "string"
+ },
+ "baseDocumentVersion": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "body": {
+ "type": "string"
+ },
+ "createdAt": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "datasetId": {
+ "type": "string"
+ },
+ "datasetName": {
+ "type": "string"
+ },
+ "datasetSlug": {
+ "type": "string"
+ },
+ "documentId": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "proposerName": {
+ "type": "string"
+ },
+ "rationale": {
+ "type": "string"
+ },
+ "reviewedAt": {
+ "anyOf": [
+ {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sourceUrl": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "pending",
+ "approved",
+ "rejected"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+}
addedOutput schema / properties / revisions / items / required
Added value: +[
+ "id",
+ "datasetId",
+ "datasetSlug",
+ "documentId",
+ "action",
+ "title",
+ "body",
+ "sourceUrl",
+ "rationale",
+ "status",
+ "createdAt",
+ "reviewedAt",
+ "proposerName",
+ "baseDocumentVersion"
+]