addedOutput schema / definitions / Contribution
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "body_markdown": {
+ "type": "string"
+ },
+ "content_license": {
+ "$ref": "#/definitions/ContentLicense"
+ },
+ "evidence": {
+ "items": {
+ "$ref": "#/definitions/Evidence"
+ },
+ "type": "array"
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "answer",
+ "hypothesis",
+ "correction",
+ "challenge",
+ "clarification"
+ ],
+ "type": "string"
+ },
+ "language": {
+ "maxLength": 35,
+ "pattern": "^[a-z]{2,3}(-[A-Za-z0-9]{2,8})*$",
+ "type": "string"
+ },
+ "provenance_class": {
+ "enum": [
+ "editorial_seed",
+ "guest",
+ "verified_actor",
+ "controlled_test"
+ ],
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "question_id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "revision": {
+ "$ref": "#/definitions/RevisionSummary"
+ },
+ "status": {
+ "enum": [
+ "pending_review",
+ "approved",
+ "rejected",
+ "quarantined",
+ "retracted"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "question_id",
+ "kind",
+ "status",
+ "language",
+ "provenance_class",
+ "body_markdown",
+ "revision",
+ "published_at",
+ "evidence",
+ "content_license"
+ ],
+ "type": "object"
+}
addedOutput schema / definitions / Evidence
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "check_status": {
+ "enum": [
+ "unchecked",
+ "link_format_ok",
+ "editorially_checked",
+ "flagged"
+ ],
+ "type": "string"
+ },
+ "excerpt_short": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "note": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "relation": {
+ "enum": [
+ "supports",
+ "refutes",
+ "context"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "$ref": "#/definitions/Source"
+ }
+ },
+ "required": [
+ "id",
+ "relation",
+ "note",
+ "excerpt_short",
+ "check_status",
+ "source"
+ ],
+ "type": "object"
+}
addedOutput schema / definitions / RevisionSummary
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "change_reason": {
+ "type": "string"
+ },
+ "content_hash": {
+ "type": "string"
+ },
+ "created_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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "revision_number": {
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "revision_number",
+ "content_hash",
+ "change_reason",
+ "created_at"
+ ],
+ "type": "object"
+}
addedOutput schema / definitions / Source
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "accessed_at": {
+ "anyOf": [
+ {
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "license_info": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "published_at": {
+ "anyOf": [
+ {
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "publisher": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_type": {
+ "enum": [
+ "standard",
+ "official_docs",
+ "encyclopedia",
+ "museum",
+ "government",
+ "academic",
+ "book",
+ "news",
+ "dataset",
+ "other"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "url",
+ "title",
+ "publisher",
+ "source_type",
+ "published_at",
+ "accessed_at",
+ "license_info"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / contributions
Added value: +{
+ "items": {
+ "$ref": "#/definitions/Contribution"
+ },
+ "type": "array"
+}
changedOutput schema / required
Previous value: -[
- "id",
- "slug",
- "title",
- "excerpt",
- "language",
- "status",
- "topic_tags",
- "provenance_class",
- "as_of",
- "published_at",
- "updated_at",
- "last_activity_at",
- "approved_contribution_count",
- "canonical_url",
- "api_url",
- "body_markdown",
- "created_at",
- "knowledge_records",
- "contributions_url",
- "disclaimers",
- "content_license"
-]New value: +[
+ "id",
+ "slug",
+ "title",
+ "excerpt",
+ "language",
+ "status",
+ "topic_tags",
+ "provenance_class",
+ "as_of",
+ "published_at",
+ "updated_at",
+ "last_activity_at",
+ "approved_contribution_count",
+ "canonical_url",
+ "api_url",
+ "body_markdown",
+ "created_at",
+ "knowledge_records",
+ "contributions_url",
+ "disclaimers",
+ "content_license",
+ "contributions"
+]