Knowtation web client
    Preparing search index...

    Function compareVersions

    • Parameters

      • a: {
            author: string;
            content: {
                citation?: string | null;
                creators?: string[] | null;
                description?: string | null;
                doi?: string | null;
                id: string;
                keywords?: string[] | null;
                licence?: string | null;
                publisher?: string | null;
                resources?:
                    | {
                        description?: string
                        | null;
                        elements?:
                            | {
                                aggregation?: | "sum"
                                | "mean"
                                | "point"
                                | "interval"
                                | "cumulative"
                                | null;
                                code_list?: | {
                                    attributes?: ...;
                                    code: ...;
                                    description?: ...;
                                    meaning?: ...;
                                }[]
                                | null;
                                data_type?: | "string"
                                | "number"
                                | "boolean"
                                | "object"
                                | "time"
                                | "integer"
                                | "date"
                                | "datetime"
                                | "duration"
                                | "geometry"
                                | "array"
                                | "binary"
                                | "unknown"
                                | null;
                                description?: string
                                | null;
                                examples?: string[] | null;
                                id: string;
                                missing_values?: string[] | null;
                                name: string;
                                path: string;
                                references?: string | null;
                                required?: boolean | null;
                                role?:
                                    | "content"
                                    | "identifier"
                                    | "dimension"
                                    | "time"
                                    | "space"
                                    | "measure"
                                    | "attribute"
                                    | null;
                                spatial?: | {
                                    bbox?: (...)
                                    | (...)
                                    | (...);
                                    crs?: (...) | (...) | (...);
                                    feature_count?: (...) | (...) | (...);
                                    geometry_type?: (...) | (...) | (...);
                                }
                                | null;
                                statistics?: | {
                                    count?: (...)
                                    | (...)
                                    | (...);
                                    distinct_count?: (...) | (...) | (...);
                                    distinct_estimated?: (...) | (...) | (...) | (...);
                                    max?: (...) | (...) | (...);
                                    mean?: (...) | (...) | (...);
                                    min?: (...) | (...) | (...);
                                    missing_count?: (...) | (...) | (...);
                                    patterns?: (...) | (...) | (...);
                                }
                                | null;
                                temporal?: | {
                                    end?: (...)
                                    | (...)
                                    | (...);
                                    format?: (...) | (...) | (...);
                                    resolution?: (...) | (...) | (...);
                                    start?: (...) | (...) | (...);
                                    time_zone?: (...) | (...) | (...);
                                }
                                | null;
                                text?: | {
                                    encoding?: (...)
                                    | (...)
                                    | (...);
                                    language?: (...) | (...) | (...);
                                    length?: (...) | (...) | (...);
                                    passages?: (...) | (...) | (...);
                                    sections?: (...) | (...) | (...);
                                }
                                | null;
                                title?: string
                                | null;
                                unique?: boolean | null;
                                unit?: string | null;
                                unit_from?: string | null;
                            }[]
                            | null;
                        error?: string
                        | null;
                        field_groups?:
                            | {
                                id: string;
                                members?: string[]
                                | null;
                                pattern: string;
                                varying?: string | null;
                            }[]
                            | null;
                        format?: string
                        | null;
                        id: string;
                        keywords?: string[] | null;
                        kind:
                            | "text"
                            | "media"
                            | "tabular"
                            | "hierarchical"
                            | "geospatial"
                            | "feed"
                            | "gridded";
                        licence?: string
                        | null;
                        location?: string | null;
                        media?:
                            | {
                                captured_at?: string
                                | null;
                                codec?: string | null;
                                duration_s?: number | null;
                                format?: string | null;
                                height?: number | null;
                                width?: number | null;
                            }
                            | null;
                        name: string;
                        overlaps?: | {
                            codes?: | {
                                attributes?: ...;
                                code: ...;
                                description?: ...;
                                meaning?: ...;
                            }[]
                            | null;
                            distinct: number;
                            from_element: string;
                            matched: number;
                            names_similar?: boolean
                            | null;
                            to_element: string;
                            unmatched_examples?: string[] | null;
                        }[]
                        | null;
                        publisher?: string
                        | null;
                        qualitative?:
                            | {
                                codebook?: string[]
                                | null;
                                consent_notes?: string | null;
                                speakers?: string[] | null;
                            }
                            | null;
                        relationships?: | {
                            from_element: string;
                            kind?: "foreign_key"
                            | "reference"
                            | null;
                            to_element: string;
                        }[]
                        | null;
                        role?: "data"
                        | "lookup"
                        | null;
                        row_count?: number | null;
                        sampled_rows?: number | null;
                        sha256?: string | null;
                        size_bytes?: number | null;
                        spatial?:
                            | {
                                bbox?: number[]
                                | null;
                                crs?: string | null;
                                feature_count?: number | null;
                                geometry_type?: string | null;
                            }
                            | null;
                        standard?: string
                        | null;
                        status?: "ok" | "failed" | null;
                        structure?: "wide" | "long_series" | "events" | "indicator" | null;
                        temporal?:
                            | {
                                end?: string
                                | null;
                                format?: string | null;
                                resolution?: string | null;
                                start?: string | null;
                                time_zone?: string | null;
                            }
                            | null;
                        text?: | {
                            encoding?: string
                            | null;
                            language?: string | null;
                            length?: number | null;
                            passages?: string[] | null;
                            sections?: string[] | null;
                        }
                        | null;
                        title?: string
                        | null;
                    }[]
                    | null;
                source?: string
                | null;
                spatial?:
                    | {
                        bbox?: number[]
                        | null;
                        crs?: string | null;
                        feature_count?: number | null;
                        geometry_type?: string | null;
                    }
                    | null;
                temporal?: | {
                    end?: string
                    | null;
                    format?: string | null;
                    resolution?: string | null;
                    start?: string | null;
                    time_zone?: string | null;
                }
                | null;
                title?: string
                | null;
            };
            created_at: string;
            dataset_id: string;
            note?: string
            | null;
            parent?: number | null;
            proposals: {
                band?: string | null;
                chosen: boolean;
                confidence?: number | null;
                human_verified?: boolean | null;
                id: string;
                property: string;
                provenance?: "observed" | "declared" | "inferred" | "reviewed" | null;
                rationale?: string | null;
                raw_score?: number | null;
                source_id?: string | null;
                source_kind: "profiler" | "rule" | "recogniser" | "llm" | "human";
                source_version?: string | null;
                status?: "proposed" | "accepted" | "edited" | "rejected" | null;
                target: string;
                value: string;
            }[];
            run_id?: string
            | null;
            version: number;
        }
        • author: string

          Author

        • content: {
              citation?: string | null;
              creators?: string[] | null;
              description?: string | null;
              doi?: string | null;
              id: string;
              keywords?: string[] | null;
              licence?: string | null;
              publisher?: string | null;
              resources?:
                  | {
                      description?: string
                      | null;
                      elements?:
                          | {
                              aggregation?: | "sum"
                              | "mean"
                              | "point"
                              | "interval"
                              | "cumulative"
                              | null;
                              code_list?: | {
                                  attributes?: ...;
                                  code: ...;
                                  description?: ...;
                                  meaning?: ...;
                              }[]
                              | null;
                              data_type?: | "string"
                              | "number"
                              | "boolean"
                              | "object"
                              | "time"
                              | "integer"
                              | "date"
                              | "datetime"
                              | "duration"
                              | "geometry"
                              | "array"
                              | "binary"
                              | "unknown"
                              | null;
                              description?: string
                              | null;
                              examples?: string[] | null;
                              id: string;
                              missing_values?: string[] | null;
                              name: string;
                              path: string;
                              references?: string | null;
                              required?: boolean | null;
                              role?:
                                  | "content"
                                  | "identifier"
                                  | "dimension"
                                  | "time"
                                  | "space"
                                  | "measure"
                                  | "attribute"
                                  | null;
                              spatial?: | {
                                  bbox?: (...)
                                  | (...)
                                  | (...);
                                  crs?: (...) | (...) | (...);
                                  feature_count?: (...) | (...) | (...);
                                  geometry_type?: (...) | (...) | (...);
                              }
                              | null;
                              statistics?: | {
                                  count?: (...)
                                  | (...)
                                  | (...);
                                  distinct_count?: (...) | (...) | (...);
                                  distinct_estimated?: (...) | (...) | (...) | (...);
                                  max?: (...) | (...) | (...);
                                  mean?: (...) | (...) | (...);
                                  min?: (...) | (...) | (...);
                                  missing_count?: (...) | (...) | (...);
                                  patterns?: (...) | (...) | (...);
                              }
                              | null;
                              temporal?: | {
                                  end?: (...)
                                  | (...)
                                  | (...);
                                  format?: (...) | (...) | (...);
                                  resolution?: (...) | (...) | (...);
                                  start?: (...) | (...) | (...);
                                  time_zone?: (...) | (...) | (...);
                              }
                              | null;
                              text?: | {
                                  encoding?: (...)
                                  | (...)
                                  | (...);
                                  language?: (...) | (...) | (...);
                                  length?: (...) | (...) | (...);
                                  passages?: (...) | (...) | (...);
                                  sections?: (...) | (...) | (...);
                              }
                              | null;
                              title?: string
                              | null;
                              unique?: boolean | null;
                              unit?: string | null;
                              unit_from?: string | null;
                          }[]
                          | null;
                      error?: string
                      | null;
                      field_groups?:
                          | {
                              id: string;
                              members?: string[]
                              | null;
                              pattern: string;
                              varying?: string | null;
                          }[]
                          | null;
                      format?: string
                      | null;
                      id: string;
                      keywords?: string[] | null;
                      kind:
                          | "text"
                          | "media"
                          | "tabular"
                          | "hierarchical"
                          | "geospatial"
                          | "feed"
                          | "gridded";
                      licence?: string
                      | null;
                      location?: string | null;
                      media?:
                          | {
                              captured_at?: string
                              | null;
                              codec?: string | null;
                              duration_s?: number | null;
                              format?: string | null;
                              height?: number | null;
                              width?: number | null;
                          }
                          | null;
                      name: string;
                      overlaps?: | {
                          codes?: | {
                              attributes?: ...;
                              code: ...;
                              description?: ...;
                              meaning?: ...;
                          }[]
                          | null;
                          distinct: number;
                          from_element: string;
                          matched: number;
                          names_similar?: boolean
                          | null;
                          to_element: string;
                          unmatched_examples?: string[] | null;
                      }[]
                      | null;
                      publisher?: string
                      | null;
                      qualitative?:
                          | {
                              codebook?: string[]
                              | null;
                              consent_notes?: string | null;
                              speakers?: string[] | null;
                          }
                          | null;
                      relationships?: | {
                          from_element: string;
                          kind?: "foreign_key"
                          | "reference"
                          | null;
                          to_element: string;
                      }[]
                      | null;
                      role?: "data"
                      | "lookup"
                      | null;
                      row_count?: number | null;
                      sampled_rows?: number | null;
                      sha256?: string | null;
                      size_bytes?: number | null;
                      spatial?:
                          | {
                              bbox?: number[]
                              | null;
                              crs?: string | null;
                              feature_count?: number | null;
                              geometry_type?: string | null;
                          }
                          | null;
                      standard?: string
                      | null;
                      status?: "ok" | "failed" | null;
                      structure?: "wide" | "long_series" | "events" | "indicator" | null;
                      temporal?:
                          | {
                              end?: string
                              | null;
                              format?: string | null;
                              resolution?: string | null;
                              start?: string | null;
                              time_zone?: string | null;
                          }
                          | null;
                      text?: | {
                          encoding?: string
                          | null;
                          language?: string | null;
                          length?: number | null;
                          passages?: string[] | null;
                          sections?: string[] | null;
                      }
                      | null;
                      title?: string
                      | null;
                  }[]
                  | null;
              source?: string
              | null;
              spatial?:
                  | {
                      bbox?: number[]
                      | null;
                      crs?: string | null;
                      feature_count?: number | null;
                      geometry_type?: string | null;
                  }
                  | null;
              temporal?: | {
                  end?: string
                  | null;
                  format?: string | null;
                  resolution?: string | null;
                  start?: string | null;
                  time_zone?: string | null;
              }
              | null;
              title?: string
              | null;
          }
          • Optionalcitation?: string | null

            Citation

            How to cite the data, as one reference.

          • Optionalcreators?: string[] | null

            Creators

            The people and organisations who made the data, one per line as 'Name; ORCID; Affiliation' (ORCID and affiliation optional).

          • Optionaldescription?: string | null

            Description

            One or two sentences saying what the thing is or what the values mean.

          • Optionaldoi?: string | null

            Doi

            The data's DOI, without https://doi.org/.

          • id: string

            Id

          • Optionalkeywords?: string[] | null

            Keywords

            Words that help people find the data, edited as a comma-separated list.

          • Optionallicence?: string | null

            Licence

            The licence the data is published under, ideally an SPDX id.

          • Optionalpublisher?: string | null

            Publisher

            The organisation responsible for the data.

          • Optionalresources?:
                | {
                    description?: string
                    | null;
                    elements?:
                        | {
                            aggregation?: | "sum"
                            | "mean"
                            | "point"
                            | "interval"
                            | "cumulative"
                            | null;
                            code_list?: | {
                                attributes?: ...;
                                code: ...;
                                description?: ...;
                                meaning?: ...;
                            }[]
                            | null;
                            data_type?: | "string"
                            | "number"
                            | "boolean"
                            | "object"
                            | "time"
                            | "integer"
                            | "date"
                            | "datetime"
                            | "duration"
                            | "geometry"
                            | "array"
                            | "binary"
                            | "unknown"
                            | null;
                            description?: string
                            | null;
                            examples?: string[] | null;
                            id: string;
                            missing_values?: string[] | null;
                            name: string;
                            path: string;
                            references?: string | null;
                            required?: boolean | null;
                            role?:
                                | "content"
                                | "identifier"
                                | "dimension"
                                | "time"
                                | "space"
                                | "measure"
                                | "attribute"
                                | null;
                            spatial?: | {
                                bbox?: (...)
                                | (...)
                                | (...);
                                crs?: (...) | (...) | (...);
                                feature_count?: (...) | (...) | (...);
                                geometry_type?: (...) | (...) | (...);
                            }
                            | null;
                            statistics?: | {
                                count?: (...)
                                | (...)
                                | (...);
                                distinct_count?: (...) | (...) | (...);
                                distinct_estimated?: (...) | (...) | (...) | (...);
                                max?: (...) | (...) | (...);
                                mean?: (...) | (...) | (...);
                                min?: (...) | (...) | (...);
                                missing_count?: (...) | (...) | (...);
                                patterns?: (...) | (...) | (...);
                            }
                            | null;
                            temporal?: | {
                                end?: (...)
                                | (...)
                                | (...);
                                format?: (...) | (...) | (...);
                                resolution?: (...) | (...) | (...);
                                start?: (...) | (...) | (...);
                                time_zone?: (...) | (...) | (...);
                            }
                            | null;
                            text?: | {
                                encoding?: (...)
                                | (...)
                                | (...);
                                language?: (...) | (...) | (...);
                                length?: (...) | (...) | (...);
                                passages?: (...) | (...) | (...);
                                sections?: (...) | (...) | (...);
                            }
                            | null;
                            title?: string
                            | null;
                            unique?: boolean | null;
                            unit?: string | null;
                            unit_from?: string | null;
                        }[]
                        | null;
                    error?: string
                    | null;
                    field_groups?:
                        | {
                            id: string;
                            members?: string[]
                            | null;
                            pattern: string;
                            varying?: string | null;
                        }[]
                        | null;
                    format?: string
                    | null;
                    id: string;
                    keywords?: string[] | null;
                    kind:
                        | "text"
                        | "media"
                        | "tabular"
                        | "hierarchical"
                        | "geospatial"
                        | "feed"
                        | "gridded";
                    licence?: string
                    | null;
                    location?: string | null;
                    media?:
                        | {
                            captured_at?: string
                            | null;
                            codec?: string | null;
                            duration_s?: number | null;
                            format?: string | null;
                            height?: number | null;
                            width?: number | null;
                        }
                        | null;
                    name: string;
                    overlaps?: | {
                        codes?: | {
                            attributes?: ...;
                            code: ...;
                            description?: ...;
                            meaning?: ...;
                        }[]
                        | null;
                        distinct: number;
                        from_element: string;
                        matched: number;
                        names_similar?: boolean
                        | null;
                        to_element: string;
                        unmatched_examples?: string[] | null;
                    }[]
                    | null;
                    publisher?: string
                    | null;
                    qualitative?:
                        | {
                            codebook?: string[]
                            | null;
                            consent_notes?: string | null;
                            speakers?: string[] | null;
                        }
                        | null;
                    relationships?: | {
                        from_element: string;
                        kind?: "foreign_key"
                        | "reference"
                        | null;
                        to_element: string;
                    }[]
                    | null;
                    role?: "data"
                    | "lookup"
                    | null;
                    row_count?: number | null;
                    sampled_rows?: number | null;
                    sha256?: string | null;
                    size_bytes?: number | null;
                    spatial?:
                        | {
                            bbox?: number[]
                            | null;
                            crs?: string | null;
                            feature_count?: number | null;
                            geometry_type?: string | null;
                        }
                        | null;
                    standard?: string
                    | null;
                    status?: "ok" | "failed" | null;
                    structure?: "wide" | "long_series" | "events" | "indicator" | null;
                    temporal?:
                        | {
                            end?: string
                            | null;
                            format?: string | null;
                            resolution?: string | null;
                            start?: string | null;
                            time_zone?: string | null;
                        }
                        | null;
                    text?: | {
                        encoding?: string
                        | null;
                        language?: string | null;
                        length?: number | null;
                        passages?: string[] | null;
                        sections?: string[] | null;
                    }
                    | null;
                    title?: string
                    | null;
                }[]
                | null

            Resources

          • Optionalsource?: string | null

            Source

            Where the dataset came from (path, URL or service).

          • Optionalspatial?:
                | {
                    bbox?: number[]
                    | null;
                    crs?: string | null;
                    feature_count?: number | null;
                    geometry_type?: string | null;
                }
                | null
          • Optionaltemporal?:
                | {
                    end?: string
                    | null;
                    format?: string | null;
                    resolution?: string | null;
                    start?: string | null;
                    time_zone?: string | null;
                }
                | null
          • Optionaltitle?: string | null

            Title

            A short, human-readable name.

        • created_at: string

          Created At Format: date-time

        • dataset_id: string

          Dataset Id

        • Optionalnote?: string | null

          Note

        • Optionalparent?: number | null

          Parent

        • proposals: {
              band?: string | null;
              chosen: boolean;
              confidence?: number | null;
              human_verified?: boolean | null;
              id: string;
              property: string;
              provenance?: "observed" | "declared" | "inferred" | "reviewed" | null;
              rationale?: string | null;
              raw_score?: number | null;
              source_id?: string | null;
              source_kind: "profiler" | "rule" | "recogniser" | "llm" | "human";
              source_version?: string | null;
              status?: "proposed" | "accepted" | "edited" | "rejected" | null;
              target: string;
              value: string;
          }[]

          Proposals

        • Optionalrun_id?: string | null

          Run Id

        • version: number

          Version

      • b: {
            author: string;
            content: {
                citation?: string | null;
                creators?: string[] | null;
                description?: string | null;
                doi?: string | null;
                id: string;
                keywords?: string[] | null;
                licence?: string | null;
                publisher?: string | null;
                resources?:
                    | {
                        description?: string
                        | null;
                        elements?:
                            | {
                                aggregation?: | "sum"
                                | "mean"
                                | "point"
                                | "interval"
                                | "cumulative"
                                | null;
                                code_list?: | {
                                    attributes?: ...;
                                    code: ...;
                                    description?: ...;
                                    meaning?: ...;
                                }[]
                                | null;
                                data_type?: | "string"
                                | "number"
                                | "boolean"
                                | "object"
                                | "time"
                                | "integer"
                                | "date"
                                | "datetime"
                                | "duration"
                                | "geometry"
                                | "array"
                                | "binary"
                                | "unknown"
                                | null;
                                description?: string
                                | null;
                                examples?: string[] | null;
                                id: string;
                                missing_values?: string[] | null;
                                name: string;
                                path: string;
                                references?: string | null;
                                required?: boolean | null;
                                role?:
                                    | "content"
                                    | "identifier"
                                    | "dimension"
                                    | "time"
                                    | "space"
                                    | "measure"
                                    | "attribute"
                                    | null;
                                spatial?: | {
                                    bbox?: (...)
                                    | (...)
                                    | (...);
                                    crs?: (...) | (...) | (...);
                                    feature_count?: (...) | (...) | (...);
                                    geometry_type?: (...) | (...) | (...);
                                }
                                | null;
                                statistics?: | {
                                    count?: (...)
                                    | (...)
                                    | (...);
                                    distinct_count?: (...) | (...) | (...);
                                    distinct_estimated?: (...) | (...) | (...) | (...);
                                    max?: (...) | (...) | (...);
                                    mean?: (...) | (...) | (...);
                                    min?: (...) | (...) | (...);
                                    missing_count?: (...) | (...) | (...);
                                    patterns?: (...) | (...) | (...);
                                }
                                | null;
                                temporal?: | {
                                    end?: (...)
                                    | (...)
                                    | (...);
                                    format?: (...) | (...) | (...);
                                    resolution?: (...) | (...) | (...);
                                    start?: (...) | (...) | (...);
                                    time_zone?: (...) | (...) | (...);
                                }
                                | null;
                                text?: | {
                                    encoding?: (...)
                                    | (...)
                                    | (...);
                                    language?: (...) | (...) | (...);
                                    length?: (...) | (...) | (...);
                                    passages?: (...) | (...) | (...);
                                    sections?: (...) | (...) | (...);
                                }
                                | null;
                                title?: string
                                | null;
                                unique?: boolean | null;
                                unit?: string | null;
                                unit_from?: string | null;
                            }[]
                            | null;
                        error?: string
                        | null;
                        field_groups?:
                            | {
                                id: string;
                                members?: string[]
                                | null;
                                pattern: string;
                                varying?: string | null;
                            }[]
                            | null;
                        format?: string
                        | null;
                        id: string;
                        keywords?: string[] | null;
                        kind:
                            | "text"
                            | "media"
                            | "tabular"
                            | "hierarchical"
                            | "geospatial"
                            | "feed"
                            | "gridded";
                        licence?: string
                        | null;
                        location?: string | null;
                        media?:
                            | {
                                captured_at?: string
                                | null;
                                codec?: string | null;
                                duration_s?: number | null;
                                format?: string | null;
                                height?: number | null;
                                width?: number | null;
                            }
                            | null;
                        name: string;
                        overlaps?: | {
                            codes?: | {
                                attributes?: ...;
                                code: ...;
                                description?: ...;
                                meaning?: ...;
                            }[]
                            | null;
                            distinct: number;
                            from_element: string;
                            matched: number;
                            names_similar?: boolean
                            | null;
                            to_element: string;
                            unmatched_examples?: string[] | null;
                        }[]
                        | null;
                        publisher?: string
                        | null;
                        qualitative?:
                            | {
                                codebook?: string[]
                                | null;
                                consent_notes?: string | null;
                                speakers?: string[] | null;
                            }
                            | null;
                        relationships?: | {
                            from_element: string;
                            kind?: "foreign_key"
                            | "reference"
                            | null;
                            to_element: string;
                        }[]
                        | null;
                        role?: "data"
                        | "lookup"
                        | null;
                        row_count?: number | null;
                        sampled_rows?: number | null;
                        sha256?: string | null;
                        size_bytes?: number | null;
                        spatial?:
                            | {
                                bbox?: number[]
                                | null;
                                crs?: string | null;
                                feature_count?: number | null;
                                geometry_type?: string | null;
                            }
                            | null;
                        standard?: string
                        | null;
                        status?: "ok" | "failed" | null;
                        structure?: "wide" | "long_series" | "events" | "indicator" | null;
                        temporal?:
                            | {
                                end?: string
                                | null;
                                format?: string | null;
                                resolution?: string | null;
                                start?: string | null;
                                time_zone?: string | null;
                            }
                            | null;
                        text?: | {
                            encoding?: string
                            | null;
                            language?: string | null;
                            length?: number | null;
                            passages?: string[] | null;
                            sections?: string[] | null;
                        }
                        | null;
                        title?: string
                        | null;
                    }[]
                    | null;
                source?: string
                | null;
                spatial?:
                    | {
                        bbox?: number[]
                        | null;
                        crs?: string | null;
                        feature_count?: number | null;
                        geometry_type?: string | null;
                    }
                    | null;
                temporal?: | {
                    end?: string
                    | null;
                    format?: string | null;
                    resolution?: string | null;
                    start?: string | null;
                    time_zone?: string | null;
                }
                | null;
                title?: string
                | null;
            };
            created_at: string;
            dataset_id: string;
            note?: string
            | null;
            parent?: number | null;
            proposals: {
                band?: string | null;
                chosen: boolean;
                confidence?: number | null;
                human_verified?: boolean | null;
                id: string;
                property: string;
                provenance?: "observed" | "declared" | "inferred" | "reviewed" | null;
                rationale?: string | null;
                raw_score?: number | null;
                source_id?: string | null;
                source_kind: "profiler" | "rule" | "recogniser" | "llm" | "human";
                source_version?: string | null;
                status?: "proposed" | "accepted" | "edited" | "rejected" | null;
                target: string;
                value: string;
            }[];
            run_id?: string
            | null;
            version: number;
        }
        • author: string

          Author

        • content: {
              citation?: string | null;
              creators?: string[] | null;
              description?: string | null;
              doi?: string | null;
              id: string;
              keywords?: string[] | null;
              licence?: string | null;
              publisher?: string | null;
              resources?:
                  | {
                      description?: string
                      | null;
                      elements?:
                          | {
                              aggregation?: | "sum"
                              | "mean"
                              | "point"
                              | "interval"
                              | "cumulative"
                              | null;
                              code_list?: | {
                                  attributes?: ...;
                                  code: ...;
                                  description?: ...;
                                  meaning?: ...;
                              }[]
                              | null;
                              data_type?: | "string"
                              | "number"
                              | "boolean"
                              | "object"
                              | "time"
                              | "integer"
                              | "date"
                              | "datetime"
                              | "duration"
                              | "geometry"
                              | "array"
                              | "binary"
                              | "unknown"
                              | null;
                              description?: string
                              | null;
                              examples?: string[] | null;
                              id: string;
                              missing_values?: string[] | null;
                              name: string;
                              path: string;
                              references?: string | null;
                              required?: boolean | null;
                              role?:
                                  | "content"
                                  | "identifier"
                                  | "dimension"
                                  | "time"
                                  | "space"
                                  | "measure"
                                  | "attribute"
                                  | null;
                              spatial?: | {
                                  bbox?: (...)
                                  | (...)
                                  | (...);
                                  crs?: (...) | (...) | (...);
                                  feature_count?: (...) | (...) | (...);
                                  geometry_type?: (...) | (...) | (...);
                              }
                              | null;
                              statistics?: | {
                                  count?: (...)
                                  | (...)
                                  | (...);
                                  distinct_count?: (...) | (...) | (...);
                                  distinct_estimated?: (...) | (...) | (...) | (...);
                                  max?: (...) | (...) | (...);
                                  mean?: (...) | (...) | (...);
                                  min?: (...) | (...) | (...);
                                  missing_count?: (...) | (...) | (...);
                                  patterns?: (...) | (...) | (...);
                              }
                              | null;
                              temporal?: | {
                                  end?: (...)
                                  | (...)
                                  | (...);
                                  format?: (...) | (...) | (...);
                                  resolution?: (...) | (...) | (...);
                                  start?: (...) | (...) | (...);
                                  time_zone?: (...) | (...) | (...);
                              }
                              | null;
                              text?: | {
                                  encoding?: (...)
                                  | (...)
                                  | (...);
                                  language?: (...) | (...) | (...);
                                  length?: (...) | (...) | (...);
                                  passages?: (...) | (...) | (...);
                                  sections?: (...) | (...) | (...);
                              }
                              | null;
                              title?: string
                              | null;
                              unique?: boolean | null;
                              unit?: string | null;
                              unit_from?: string | null;
                          }[]
                          | null;
                      error?: string
                      | null;
                      field_groups?:
                          | {
                              id: string;
                              members?: string[]
                              | null;
                              pattern: string;
                              varying?: string | null;
                          }[]
                          | null;
                      format?: string
                      | null;
                      id: string;
                      keywords?: string[] | null;
                      kind:
                          | "text"
                          | "media"
                          | "tabular"
                          | "hierarchical"
                          | "geospatial"
                          | "feed"
                          | "gridded";
                      licence?: string
                      | null;
                      location?: string | null;
                      media?:
                          | {
                              captured_at?: string
                              | null;
                              codec?: string | null;
                              duration_s?: number | null;
                              format?: string | null;
                              height?: number | null;
                              width?: number | null;
                          }
                          | null;
                      name: string;
                      overlaps?: | {
                          codes?: | {
                              attributes?: ...;
                              code: ...;
                              description?: ...;
                              meaning?: ...;
                          }[]
                          | null;
                          distinct: number;
                          from_element: string;
                          matched: number;
                          names_similar?: boolean
                          | null;
                          to_element: string;
                          unmatched_examples?: string[] | null;
                      }[]
                      | null;
                      publisher?: string
                      | null;
                      qualitative?:
                          | {
                              codebook?: string[]
                              | null;
                              consent_notes?: string | null;
                              speakers?: string[] | null;
                          }
                          | null;
                      relationships?: | {
                          from_element: string;
                          kind?: "foreign_key"
                          | "reference"
                          | null;
                          to_element: string;
                      }[]
                      | null;
                      role?: "data"
                      | "lookup"
                      | null;
                      row_count?: number | null;
                      sampled_rows?: number | null;
                      sha256?: string | null;
                      size_bytes?: number | null;
                      spatial?:
                          | {
                              bbox?: number[]
                              | null;
                              crs?: string | null;
                              feature_count?: number | null;
                              geometry_type?: string | null;
                          }
                          | null;
                      standard?: string
                      | null;
                      status?: "ok" | "failed" | null;
                      structure?: "wide" | "long_series" | "events" | "indicator" | null;
                      temporal?:
                          | {
                              end?: string
                              | null;
                              format?: string | null;
                              resolution?: string | null;
                              start?: string | null;
                              time_zone?: string | null;
                          }
                          | null;
                      text?: | {
                          encoding?: string
                          | null;
                          language?: string | null;
                          length?: number | null;
                          passages?: string[] | null;
                          sections?: string[] | null;
                      }
                      | null;
                      title?: string
                      | null;
                  }[]
                  | null;
              source?: string
              | null;
              spatial?:
                  | {
                      bbox?: number[]
                      | null;
                      crs?: string | null;
                      feature_count?: number | null;
                      geometry_type?: string | null;
                  }
                  | null;
              temporal?: | {
                  end?: string
                  | null;
                  format?: string | null;
                  resolution?: string | null;
                  start?: string | null;
                  time_zone?: string | null;
              }
              | null;
              title?: string
              | null;
          }
          • Optionalcitation?: string | null

            Citation

            How to cite the data, as one reference.

          • Optionalcreators?: string[] | null

            Creators

            The people and organisations who made the data, one per line as 'Name; ORCID; Affiliation' (ORCID and affiliation optional).

          • Optionaldescription?: string | null

            Description

            One or two sentences saying what the thing is or what the values mean.

          • Optionaldoi?: string | null

            Doi

            The data's DOI, without https://doi.org/.

          • id: string

            Id

          • Optionalkeywords?: string[] | null

            Keywords

            Words that help people find the data, edited as a comma-separated list.

          • Optionallicence?: string | null

            Licence

            The licence the data is published under, ideally an SPDX id.

          • Optionalpublisher?: string | null

            Publisher

            The organisation responsible for the data.

          • Optionalresources?:
                | {
                    description?: string
                    | null;
                    elements?:
                        | {
                            aggregation?: | "sum"
                            | "mean"
                            | "point"
                            | "interval"
                            | "cumulative"
                            | null;
                            code_list?: | {
                                attributes?: ...;
                                code: ...;
                                description?: ...;
                                meaning?: ...;
                            }[]
                            | null;
                            data_type?: | "string"
                            | "number"
                            | "boolean"
                            | "object"
                            | "time"
                            | "integer"
                            | "date"
                            | "datetime"
                            | "duration"
                            | "geometry"
                            | "array"
                            | "binary"
                            | "unknown"
                            | null;
                            description?: string
                            | null;
                            examples?: string[] | null;
                            id: string;
                            missing_values?: string[] | null;
                            name: string;
                            path: string;
                            references?: string | null;
                            required?: boolean | null;
                            role?:
                                | "content"
                                | "identifier"
                                | "dimension"
                                | "time"
                                | "space"
                                | "measure"
                                | "attribute"
                                | null;
                            spatial?: | {
                                bbox?: (...)
                                | (...)
                                | (...);
                                crs?: (...) | (...) | (...);
                                feature_count?: (...) | (...) | (...);
                                geometry_type?: (...) | (...) | (...);
                            }
                            | null;
                            statistics?: | {
                                count?: (...)
                                | (...)
                                | (...);
                                distinct_count?: (...) | (...) | (...);
                                distinct_estimated?: (...) | (...) | (...) | (...);
                                max?: (...) | (...) | (...);
                                mean?: (...) | (...) | (...);
                                min?: (...) | (...) | (...);
                                missing_count?: (...) | (...) | (...);
                                patterns?: (...) | (...) | (...);
                            }
                            | null;
                            temporal?: | {
                                end?: (...)
                                | (...)
                                | (...);
                                format?: (...) | (...) | (...);
                                resolution?: (...) | (...) | (...);
                                start?: (...) | (...) | (...);
                                time_zone?: (...) | (...) | (...);
                            }
                            | null;
                            text?: | {
                                encoding?: (...)
                                | (...)
                                | (...);
                                language?: (...) | (...) | (...);
                                length?: (...) | (...) | (...);
                                passages?: (...) | (...) | (...);
                                sections?: (...) | (...) | (...);
                            }
                            | null;
                            title?: string
                            | null;
                            unique?: boolean | null;
                            unit?: string | null;
                            unit_from?: string | null;
                        }[]
                        | null;
                    error?: string
                    | null;
                    field_groups?:
                        | {
                            id: string;
                            members?: string[]
                            | null;
                            pattern: string;
                            varying?: string | null;
                        }[]
                        | null;
                    format?: string
                    | null;
                    id: string;
                    keywords?: string[] | null;
                    kind:
                        | "text"
                        | "media"
                        | "tabular"
                        | "hierarchical"
                        | "geospatial"
                        | "feed"
                        | "gridded";
                    licence?: string
                    | null;
                    location?: string | null;
                    media?:
                        | {
                            captured_at?: string
                            | null;
                            codec?: string | null;
                            duration_s?: number | null;
                            format?: string | null;
                            height?: number | null;
                            width?: number | null;
                        }
                        | null;
                    name: string;
                    overlaps?: | {
                        codes?: | {
                            attributes?: ...;
                            code: ...;
                            description?: ...;
                            meaning?: ...;
                        }[]
                        | null;
                        distinct: number;
                        from_element: string;
                        matched: number;
                        names_similar?: boolean
                        | null;
                        to_element: string;
                        unmatched_examples?: string[] | null;
                    }[]
                    | null;
                    publisher?: string
                    | null;
                    qualitative?:
                        | {
                            codebook?: string[]
                            | null;
                            consent_notes?: string | null;
                            speakers?: string[] | null;
                        }
                        | null;
                    relationships?: | {
                        from_element: string;
                        kind?: "foreign_key"
                        | "reference"
                        | null;
                        to_element: string;
                    }[]
                    | null;
                    role?: "data"
                    | "lookup"
                    | null;
                    row_count?: number | null;
                    sampled_rows?: number | null;
                    sha256?: string | null;
                    size_bytes?: number | null;
                    spatial?:
                        | {
                            bbox?: number[]
                            | null;
                            crs?: string | null;
                            feature_count?: number | null;
                            geometry_type?: string | null;
                        }
                        | null;
                    standard?: string
                    | null;
                    status?: "ok" | "failed" | null;
                    structure?: "wide" | "long_series" | "events" | "indicator" | null;
                    temporal?:
                        | {
                            end?: string
                            | null;
                            format?: string | null;
                            resolution?: string | null;
                            start?: string | null;
                            time_zone?: string | null;
                        }
                        | null;
                    text?: | {
                        encoding?: string
                        | null;
                        language?: string | null;
                        length?: number | null;
                        passages?: string[] | null;
                        sections?: string[] | null;
                    }
                    | null;
                    title?: string
                    | null;
                }[]
                | null

            Resources

          • Optionalsource?: string | null

            Source

            Where the dataset came from (path, URL or service).

          • Optionalspatial?:
                | {
                    bbox?: number[]
                    | null;
                    crs?: string | null;
                    feature_count?: number | null;
                    geometry_type?: string | null;
                }
                | null
          • Optionaltemporal?:
                | {
                    end?: string
                    | null;
                    format?: string | null;
                    resolution?: string | null;
                    start?: string | null;
                    time_zone?: string | null;
                }
                | null
          • Optionaltitle?: string | null

            Title

            A short, human-readable name.

        • created_at: string

          Created At Format: date-time

        • dataset_id: string

          Dataset Id

        • Optionalnote?: string | null

          Note

        • Optionalparent?: number | null

          Parent

        • proposals: {
              band?: string | null;
              chosen: boolean;
              confidence?: number | null;
              human_verified?: boolean | null;
              id: string;
              property: string;
              provenance?: "observed" | "declared" | "inferred" | "reviewed" | null;
              rationale?: string | null;
              raw_score?: number | null;
              source_id?: string | null;
              source_kind: "profiler" | "rule" | "recogniser" | "llm" | "human";
              source_version?: string | null;
              status?: "proposed" | "accepted" | "edited" | "rejected" | null;
              target: string;
              value: string;
          }[]

          Proposals

        • Optionalrun_id?: string | null

          Run Id

        • version: number

          Version

      Returns Difference[]