{
  "$defs": {
    "SampleValueRef": {
      "additionalProperties": false,
      "description": "Observe a routed market source on primary closes.",
      "properties": {
        "clock": {
          "const": "primary",
          "default": "primary",
          "title": "Clock",
          "type": "string"
        },
        "kind": {
          "const": "sample",
          "default": "sample",
          "title": "Kind",
          "type": "string"
        },
        "source": {
          "anyOf": [
            {
              "$ref": "../defs.json#/$defs/ValueRef"
            },
            {
              "type": "number"
            }
          ]
        }
      },
      "required": [
        "source"
      ],
      "title": "SampleValueRef",
      "type": "object"
    }
  },
  "$ref": "#/$defs/SampleValueRef"
}
