{
  "type": "object",
  "properties": {
    "contract": {
      "$ref": "#/components/schemas/FormContract"
    },
    "contractSource": {
      "type": "string",
      "description": "Literal JSON or YAML form contract source."
    },
    "sourceFormat": {
      "type": "string",
      "enum": [
        "json",
        "yaml",
        "auto"
      ]
    },
    "referenceId": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "visibility": {
      "type": "string",
      "enum": [
        "private",
        "shared",
        "public_placeholder"
      ]
    },
    "sourceType": {
      "type": "string",
      "enum": [
        "commentary",
        "github",
        "embedded",
        "custom"
      ]
    },
    "sourceMetadata": {
      "type": "object",
      "additionalProperties": true
    },
    "destinationConfig": {
      "type": "object",
      "additionalProperties": true
    },
    "agentAlias": {
      "type": "string"
    },
    "clientName": {
      "type": "string"
    }
  },
  "additionalProperties": false
}