{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Strategic Signal private editorial candidate v1.0.0",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "workflow_version",
    "candidate_id",
    "detected_at",
    "signal_url",
    "workflow_status",
    "qualification",
    "evidence",
    "blockers",
    "proposed_record",
    "decisions",
    "update_of"
  ],
  "properties": {
    "workflow_version": {
      "const": "1.0.0"
    },
    "candidate_id": {
      "type": "string",
      "pattern": "^SS-AIDT-C-[0-9]{8}-[A-F0-9]{6,12}$"
    },
    "detected_at": {
      "type": "string",
      "format": "date-time"
    },
    "signal_url": {
      "type": "string",
      "format": "uri"
    },
    "signal_text": {
      "type": [
        "string",
        "null"
      ]
    },
    "detector": {
      "type": "string"
    },
    "transaction_key": {
      "type": [
        "string",
        "null"
      ]
    },
    "signal_revision": {
      "type": [
        "string",
        "null"
      ]
    },
    "update_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "workflow_status": {
      "enum": [
        "detected",
        "researching",
        "review_ready",
        "published",
        "rejected"
      ]
    },
    "qualification": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "identifiable_proprietary_corpus",
        "strategically_material_to_ai",
        "observable_rights_arrangement",
        "not_ordinary_deployment",
        "credible_evidence",
        "decision",
        "reason"
      ],
      "properties": {
        "identifiable_proprietary_corpus": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "strategically_material_to_ai": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "observable_rights_arrangement": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "not_ordinary_deployment": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "credible_evidence": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "decision": {
          "enum": [
            "pending",
            "qualifies",
            "reject"
          ]
        },
        "reason": {
          "type": "string",
          "minLength": 10
        }
      }
    },
    "evidence": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "evidence_id",
          "url",
          "summary",
          "checked_at",
          "supports"
        ],
        "properties": {
          "evidence_id": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "summary": {
            "type": "string"
          },
          "checked_at": {
            "type": "string",
            "format": "date-time"
          },
          "supports": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "blockers": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "proposed_record": {
      "type": [
        "object",
        "null"
      ]
    },
    "decisions": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^editorial/decisions/[0-9]+-[0-9]+\\.json$"
      }
    }
  },
  "description": "Proposed records are additionally validated against the current transaction schema and methodology by validateReady. Candidate files are private. The public v1.0.0 candidate schema describes the former intake format.",
  "$id": "https://strategicsignal.ai/data/ai-data-transactions/v1.0.1/candidate.schema.json"
}
