{
  "$id": "https://opendatafabric.org/schemas/sources/v1alpha1/SourceState",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "The state of the source the data was added from to allow fast resuming.",
  "type": "object",
  "required": [
    "sourceName",
    "kind",
    "value"
  ],
  "properties": {
    "sourceName": {
      "type": "string",
      "description": "Identifies the source that the state corresponds to."
    },
    "kind": {
      "type": "string",
      "description": "Identifies the type of the state. Standard types include: `odf/etag`, `odf/last-modified`."
    },
    "value": {
      "type": "string",
      "description": "Opaque value representing the state."
    }
  }
}
