Open Presentation

Search docs

Loading documentation…
    OpenPresentation/opf
    Browse docs
    On this page
    View source

    Data Source Id

    Id of an entry in the top-level datasources map (the datasets id pattern). A string 'datasource' is only ever such an id; a file or a URL is written as an inline data source object, { "src": "./revenue.csv" }.

    Metadata

    Definition
    #/$defs/DataSourceId
    Form
    string
    Source
    spec/schemas/opf.schema.json

    Field index

    This definition uses the forms or value constraints below.

    Complete definition constraints
    Schema constraints
    {
      "type": "string",
      "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]*$",
      "description": "Id of an entry in the top-level datasources map (the datasets id pattern). A string 'datasource' is only ever such an id; a file or a URL is written as an inline data source object, { \"src\": \"./revenue.csv\" }.",
      "examples": [
        "warehouse",
        "finance-workbook"
      ]
    }