feat: introduce reusable types via types/unreleased #548

Closed
yarikoptic wants to merge 1 commit from rf-types into main
yarikoptic commented 2026-03-11 17:55:25 +00:00 (Migrated from github.com)

Disclaimer: these changes are done using claude code but it was highly iterative to not only fulfill my goal but also to learn more about these schemas and linkml. I got to this while we were reviewing with @candleindark our auto-converted model for dandi-schema and question about centralizing regexes came up and we decided to look into types and then I saw duplicated and non centralized regexes here.

This PR introduces types/unreleased which centralizes some of the types in addition to types/v1

If this is somehow not aligned with what you are aiming for etc -- just feel free to close @mih .

Here is the summary claude code generate for me/us. Click to expand

Multiple schemas duplicated the same pattern definitions for identifiers (ORCID, DOI, ISSN) and relative paths. This centralizes them as proper LinkML types in types/unreleased, which can be imported by any schema regardless of whether it goes through the things or flat schema chain.

types/unreleased is reworked from a stale DEPRECATED copy of types/v1 into a lean DRAFT extension with 4 new types: OrcidNotation, DoiNotation, IssnNotation, and RelativePath. The original duplicate type definitions (EmailAddress, HexBinary, NodeUriOrCurie, NonNegativeInteger) and schema_type slot are removed — they already exist in types/v1. The schema is renamed to types-development-schema and its dltypes prefix aligned with types/v1 to avoid merge conflicts when both are imported transitively.

W3CISO8601 remains in things/unreleased (moved from things-properties/unreleased) rather than types/unreleased because things-properties/v1 and temporal-mixin/unreleased each define it with different URIs (dlthings:w3ctr-datetime vs w3ctr:NOTE-datetime), and placing it in types/unreleased causes merge conflicts for schemas importing both chains.

Specific changes per file:

  • types/unreleased: reworked with 4 new types, DRAFT status
  • things/unreleased: import types/unreleased, add W3CISO8601
  • things-properties/unreleased: remove W3CISO8601 (now via things)
  • things-publications/unreleased: range: DoiNotation/IssnNotation
  • things-files/unreleased: range: RelativePath
  • flat-files/unreleased: import types/unreleased, range: RelativePath
  • demo-empirical-data/unreleased: import types/unreleased, range: OrcidNotation
  • demo-research-assets/unreleased: import types/unreleased, range: OrcidNotation
  • demo-rse-group/unreleased: import types/unreleased, range: OrcidNotation on ORCID.notation
  • demo-research-information/unreleased: import types/unreleased, range: OrcidNotation on ORCID.notation
ai produced mermaid diagram to depict includes etc but too large to see easily
graph TD
    %% ===== External =====
    linkml["linkml:types"]

    %% ===== Types layer =====
    subgraph types ["Types"]
        types_v1["types/v1"]
        types_unrel["types/unreleased"]
    end

    %% ===== Things core =====
    subgraph things_core ["Things Core"]
        things_v2["things/v2"]
        things_v1["things/v1"]
        things_unrel["things/unreleased"]
    end

    %% ===== Things extensions (unreleased) =====
    subgraph things_ext ["Things Extensions (unreleased)"]
        things_props_unrel["things-properties/unreleased"]
        things_data_unrel["things-data/unreleased"]
        things_dist_unrel["things-distributions/unreleased"]
        things_files_unrel["things-files/unreleased"]
        things_prov_unrel["things-prov/unreleased"]
        things_pub_unrel["things-publications/unreleased"]
        things_res_unrel["things-resources/unreleased"]
        things_rules_unrel["things-rules/unreleased"]
        things_social_unrel["things-social/unreleased"]
        things_study_unrel["things-study/unreleased"]
    end

    %% ===== Things extensions (v1) =====
    subgraph things_ext_v1 ["Things Extensions (v1)"]
        things_props_v1["things-properties/v1"]
        things_data_v1["things-data/v1"]
        things_dist_v1["things-distributions/v1"]
        things_files_v1["things-files/v1"]
        things_prov_v1["things-prov/v1"]
        things_pub_v1["things-publications/v1"]
        things_res_v1["things-resources/v1"]
        things_rules_v1["things-rules/v1"]
        things_social_v1["things-social/v1"]
        things_study_v1["things-study/v1"]
    end

    %% ===== Identifiers =====
    subgraph identifiers ["Identifiers"]
        ident_unrel["identifiers/unreleased"]
    end

    %% ===== Mixins =====
    subgraph mixins ["Mixins"]
        common_mx["common-mixin/unreleased"]
        files_mx["files-mixin/unreleased"]
        prov_mx["prov-mixin/unreleased"]
        pub_mx["publications-mixin/unreleased"]
        quant_mx["quantities-mixin/unreleased"]
        rel_mx["relations-mixin/unreleased"]
        res_mx["resources-mixin/unreleased"]
        social_mx["social-mixin/unreleased"]
        spatial_mx["spatial-mixin/unreleased"]
        study_mx["study-mixin/unreleased"]
        temporal_mx["temporal-mixin/unreleased"]
        versions_mx["versions-mixin/unreleased"]
    end

    %% ===== Flat layer =====
    subgraph flat_layer ["Flat Layer"]
        flat_unrel["flat/unreleased"]
        flat_files["flat-files/unreleased"]
        flat_prov["flat-prov/unreleased"]
        flat_pub["flat-publications/unreleased"]
        flat_res["flat-resources/unreleased"]
        flat_social["flat-social/unreleased"]
        flat_study["flat-study/unreleased"]
    end

    %% ===== Demo schemas =====
    subgraph demos ["Demo Schemas"]
        demo_emp["demo-empirical-data/unreleased"]
        demo_ra["demo-research-assets/unreleased"]
        demo_ri["demo-research-information/unreleased"]
        demo_rse["demo-rse-group/unreleased"]
    end

    %% ===== Import edges: Types layer =====
    types_v1 --> linkml
    types_unrel --> linkml

    %% ===== Import edges: Things core =====
    things_v2 --> linkml
    things_v1 --> types_v1
    things_v1 --> linkml
    things_unrel --> types_unrel
    things_unrel --> linkml

    %% ===== Import edges: Things extensions (v1) =====
    things_props_v1 --> things_v2
    things_props_v1 --> linkml
    things_data_v1 --> things_props_v1
    things_dist_v1 --> things_props_v1
    things_files_v1 --> things_dist_v1
    things_prov_v1 --> things_props_v1
    things_pub_v1 --> things_props_v1
    things_pub_v1 --> linkml
    things_res_v1 --> things_props_v1
    things_rules_v1 --> things_props_v1
    things_social_v1 --> things_props_v1
    things_study_v1 --> things_props_v1

    %% ===== Import edges: Things extensions (unreleased) =====
    things_props_unrel --> things_unrel
    things_props_unrel --> linkml
    things_data_unrel --> things_props_unrel
    things_dist_unrel --> things_props_unrel
    things_files_unrel --> things_dist_unrel
    things_prov_unrel --> things_props_unrel
    things_pub_unrel --> things_props_unrel
    things_pub_unrel --> linkml
    things_res_unrel --> things_props_unrel
    things_rules_unrel --> things_props_unrel
    things_social_unrel --> things_props_unrel
    things_study_unrel --> things_props_unrel

    %% ===== Import edges: Identifiers =====
    ident_unrel --> types_v1
    ident_unrel --> linkml

    %% ===== Import edges: Mixins =====
    common_mx --> linkml
    files_mx --> things_v1
    prov_mx --> things_v1
    prov_mx --> rel_mx
    prov_mx --> spatial_mx
    prov_mx --> temporal_mx
    pub_mx --> things_v1
    quant_mx --> things_v1
    rel_mx --> things_v1
    res_mx --> things_v1
    social_mx --> common_mx
    spatial_mx --> things_v1
    study_mx --> things_v1
    temporal_mx --> linkml
    versions_mx --> things_v1

    %% ===== Import edges: Flat layer =====
    flat_unrel --> things_v1
    flat_unrel --> ident_unrel
    flat_files --> flat_unrel
    flat_files --> types_unrel
    flat_files --> common_mx
    flat_files --> rel_mx
    flat_files --> spatial_mx
    flat_files --> files_mx
    flat_prov --> flat_unrel
    flat_prov --> prov_mx
    flat_prov --> rel_mx
    flat_prov --> spatial_mx
    flat_prov --> temporal_mx
    flat_pub --> flat_unrel
    flat_pub --> common_mx
    flat_pub --> rel_mx
    flat_pub --> temporal_mx
    flat_pub --> spatial_mx
    flat_pub --> pub_mx
    flat_res --> flat_unrel
    flat_res --> common_mx
    flat_res --> quant_mx
    flat_res --> rel_mx
    flat_res --> res_mx
    flat_social --> flat_unrel
    flat_social --> common_mx
    flat_social --> rel_mx
    flat_social --> social_mx
    flat_social --> spatial_mx
    flat_study --> flat_unrel
    flat_study --> common_mx
    flat_study --> study_mx
    flat_study --> prov_mx
    flat_study --> rel_mx

    %% ===== Import edges: Demo schemas =====
    demo_emp --> flat_unrel
    demo_emp --> types_unrel
    demo_ra --> flat_files
    demo_ra --> flat_pub
    demo_ra --> flat_res
    demo_ra --> flat_social
    demo_ra --> flat_study
    demo_ra --> prov_mx
    demo_ra --> types_unrel
    demo_ri --> things_data_v1
    demo_ri --> things_files_v1
    demo_ri --> things_pub_v1
    demo_ri --> things_res_v1
    demo_ri --> things_prov_v1
    demo_ri --> things_social_v1
    demo_ri --> things_study_v1
    demo_ri --> things_rules_v1
    demo_ri --> types_unrel
    demo_rse --> flat_files
    demo_rse --> flat_pub
    demo_rse --> flat_res
    demo_rse --> flat_social
    demo_rse --> flat_study
    demo_rse --> prov_mx
    demo_rse --> types_unrel

    %% ===== Styling =====
    classDef external fill:#f9f,stroke:#333,stroke-width:2px
    classDef typesStyle fill:#e8daef,stroke:#8e44ad
    classDef thingsCoreStyle fill:#d5f5e3,stroke:#27ae60
    classDef thingsExtStyle fill:#d4efdf,stroke:#2ecc71
    classDef thingsExtV1Style fill:#a9dfbf,stroke:#1e8449
    classDef identStyle fill:#fdebd0,stroke:#e67e22
    classDef mixinStyle fill:#d6eaf8,stroke:#2980b9
    classDef flatStyle fill:#fadbd8,stroke:#e74c3c
    classDef demoStyle fill:#fef9e7,stroke:#f39c12

    class linkml external
    class types_v1,types_unrel typesStyle
    class things_v2,things_v1,things_unrel thingsCoreStyle
    class things_props_unrel,things_data_unrel,things_dist_unrel,things_files_unrel,things_prov_unrel,things_pub_unrel,things_res_unrel,things_rules_unrel,things_social_unrel,things_study_unrel thingsExtStyle
    class things_props_v1,things_data_v1,things_dist_v1,things_files_v1,things_prov_v1,things_pub_v1,things_res_v1,things_rules_v1,things_social_v1,things_study_v1 thingsExtV1Style
    class ident_unrel identStyle
    class common_mx,files_mx,prov_mx,pub_mx,quant_mx,rel_mx,res_mx,social_mx,spatial_mx,study_mx,temporal_mx,versions_mx mixinStyle
    class flat_unrel,flat_files,flat_prov,flat_pub,flat_res,flat_social,flat_study flatStyle
    class demo_emp,demo_ra,demo_ri,demo_rse demoStyle

Disclaimer: these changes are done using claude code but it was highly iterative to not only fulfill my goal but also to learn more about these schemas and linkml. I got to this while we were reviewing with @candleindark our auto-converted model for dandi-schema and question about centralizing regexes came up and we decided to look into types and then I saw duplicated and non centralized regexes here. This PR introduces types/unreleased which centralizes some of the types **in addition** to types/v1 If this is somehow not aligned with what you are aiming for etc -- just feel free to close @mih . <details> <summary>Here is the summary claude code generate for me/us. Click to expand</summary> Multiple schemas duplicated the same pattern definitions for identifiers (ORCID, DOI, ISSN) and relative paths. This centralizes them as proper LinkML types in types/unreleased, which can be imported by any schema regardless of whether it goes through the things or flat schema chain. types/unreleased is reworked from a stale DEPRECATED copy of types/v1 into a lean DRAFT extension with 4 new types: OrcidNotation, DoiNotation, IssnNotation, and RelativePath. The original duplicate type definitions (EmailAddress, HexBinary, NodeUriOrCurie, NonNegativeInteger) and schema_type slot are removed — they already exist in types/v1. The schema is renamed to types-development-schema and its dltypes prefix aligned with types/v1 to avoid merge conflicts when both are imported transitively. W3CISO8601 remains in things/unreleased (moved from things-properties/unreleased) rather than types/unreleased because things-properties/v1 and temporal-mixin/unreleased each define it with different URIs (dlthings:w3ctr-datetime vs w3ctr:NOTE-datetime), and placing it in types/unreleased causes merge conflicts for schemas importing both chains. Specific changes per file: - types/unreleased: reworked with 4 new types, DRAFT status - things/unreleased: import types/unreleased, add W3CISO8601 - things-properties/unreleased: remove W3CISO8601 (now via things) - things-publications/unreleased: range: DoiNotation/IssnNotation - things-files/unreleased: range: RelativePath - flat-files/unreleased: import types/unreleased, range: RelativePath - demo-empirical-data/unreleased: import types/unreleased, range: OrcidNotation - demo-research-assets/unreleased: import types/unreleased, range: OrcidNotation - demo-rse-group/unreleased: import types/unreleased, range: OrcidNotation on ORCID.notation - demo-research-information/unreleased: import types/unreleased, range: OrcidNotation on ORCID.notation </details> <details> <summary>ai produced mermaid diagram to depict includes etc but too large to see easily</summary> ```mermaid graph TD %% ===== External ===== linkml["linkml:types"] %% ===== Types layer ===== subgraph types ["Types"] types_v1["types/v1"] types_unrel["types/unreleased"] end %% ===== Things core ===== subgraph things_core ["Things Core"] things_v2["things/v2"] things_v1["things/v1"] things_unrel["things/unreleased"] end %% ===== Things extensions (unreleased) ===== subgraph things_ext ["Things Extensions (unreleased)"] things_props_unrel["things-properties/unreleased"] things_data_unrel["things-data/unreleased"] things_dist_unrel["things-distributions/unreleased"] things_files_unrel["things-files/unreleased"] things_prov_unrel["things-prov/unreleased"] things_pub_unrel["things-publications/unreleased"] things_res_unrel["things-resources/unreleased"] things_rules_unrel["things-rules/unreleased"] things_social_unrel["things-social/unreleased"] things_study_unrel["things-study/unreleased"] end %% ===== Things extensions (v1) ===== subgraph things_ext_v1 ["Things Extensions (v1)"] things_props_v1["things-properties/v1"] things_data_v1["things-data/v1"] things_dist_v1["things-distributions/v1"] things_files_v1["things-files/v1"] things_prov_v1["things-prov/v1"] things_pub_v1["things-publications/v1"] things_res_v1["things-resources/v1"] things_rules_v1["things-rules/v1"] things_social_v1["things-social/v1"] things_study_v1["things-study/v1"] end %% ===== Identifiers ===== subgraph identifiers ["Identifiers"] ident_unrel["identifiers/unreleased"] end %% ===== Mixins ===== subgraph mixins ["Mixins"] common_mx["common-mixin/unreleased"] files_mx["files-mixin/unreleased"] prov_mx["prov-mixin/unreleased"] pub_mx["publications-mixin/unreleased"] quant_mx["quantities-mixin/unreleased"] rel_mx["relations-mixin/unreleased"] res_mx["resources-mixin/unreleased"] social_mx["social-mixin/unreleased"] spatial_mx["spatial-mixin/unreleased"] study_mx["study-mixin/unreleased"] temporal_mx["temporal-mixin/unreleased"] versions_mx["versions-mixin/unreleased"] end %% ===== Flat layer ===== subgraph flat_layer ["Flat Layer"] flat_unrel["flat/unreleased"] flat_files["flat-files/unreleased"] flat_prov["flat-prov/unreleased"] flat_pub["flat-publications/unreleased"] flat_res["flat-resources/unreleased"] flat_social["flat-social/unreleased"] flat_study["flat-study/unreleased"] end %% ===== Demo schemas ===== subgraph demos ["Demo Schemas"] demo_emp["demo-empirical-data/unreleased"] demo_ra["demo-research-assets/unreleased"] demo_ri["demo-research-information/unreleased"] demo_rse["demo-rse-group/unreleased"] end %% ===== Import edges: Types layer ===== types_v1 --> linkml types_unrel --> linkml %% ===== Import edges: Things core ===== things_v2 --> linkml things_v1 --> types_v1 things_v1 --> linkml things_unrel --> types_unrel things_unrel --> linkml %% ===== Import edges: Things extensions (v1) ===== things_props_v1 --> things_v2 things_props_v1 --> linkml things_data_v1 --> things_props_v1 things_dist_v1 --> things_props_v1 things_files_v1 --> things_dist_v1 things_prov_v1 --> things_props_v1 things_pub_v1 --> things_props_v1 things_pub_v1 --> linkml things_res_v1 --> things_props_v1 things_rules_v1 --> things_props_v1 things_social_v1 --> things_props_v1 things_study_v1 --> things_props_v1 %% ===== Import edges: Things extensions (unreleased) ===== things_props_unrel --> things_unrel things_props_unrel --> linkml things_data_unrel --> things_props_unrel things_dist_unrel --> things_props_unrel things_files_unrel --> things_dist_unrel things_prov_unrel --> things_props_unrel things_pub_unrel --> things_props_unrel things_pub_unrel --> linkml things_res_unrel --> things_props_unrel things_rules_unrel --> things_props_unrel things_social_unrel --> things_props_unrel things_study_unrel --> things_props_unrel %% ===== Import edges: Identifiers ===== ident_unrel --> types_v1 ident_unrel --> linkml %% ===== Import edges: Mixins ===== common_mx --> linkml files_mx --> things_v1 prov_mx --> things_v1 prov_mx --> rel_mx prov_mx --> spatial_mx prov_mx --> temporal_mx pub_mx --> things_v1 quant_mx --> things_v1 rel_mx --> things_v1 res_mx --> things_v1 social_mx --> common_mx spatial_mx --> things_v1 study_mx --> things_v1 temporal_mx --> linkml versions_mx --> things_v1 %% ===== Import edges: Flat layer ===== flat_unrel --> things_v1 flat_unrel --> ident_unrel flat_files --> flat_unrel flat_files --> types_unrel flat_files --> common_mx flat_files --> rel_mx flat_files --> spatial_mx flat_files --> files_mx flat_prov --> flat_unrel flat_prov --> prov_mx flat_prov --> rel_mx flat_prov --> spatial_mx flat_prov --> temporal_mx flat_pub --> flat_unrel flat_pub --> common_mx flat_pub --> rel_mx flat_pub --> temporal_mx flat_pub --> spatial_mx flat_pub --> pub_mx flat_res --> flat_unrel flat_res --> common_mx flat_res --> quant_mx flat_res --> rel_mx flat_res --> res_mx flat_social --> flat_unrel flat_social --> common_mx flat_social --> rel_mx flat_social --> social_mx flat_social --> spatial_mx flat_study --> flat_unrel flat_study --> common_mx flat_study --> study_mx flat_study --> prov_mx flat_study --> rel_mx %% ===== Import edges: Demo schemas ===== demo_emp --> flat_unrel demo_emp --> types_unrel demo_ra --> flat_files demo_ra --> flat_pub demo_ra --> flat_res demo_ra --> flat_social demo_ra --> flat_study demo_ra --> prov_mx demo_ra --> types_unrel demo_ri --> things_data_v1 demo_ri --> things_files_v1 demo_ri --> things_pub_v1 demo_ri --> things_res_v1 demo_ri --> things_prov_v1 demo_ri --> things_social_v1 demo_ri --> things_study_v1 demo_ri --> things_rules_v1 demo_ri --> types_unrel demo_rse --> flat_files demo_rse --> flat_pub demo_rse --> flat_res demo_rse --> flat_social demo_rse --> flat_study demo_rse --> prov_mx demo_rse --> types_unrel %% ===== Styling ===== classDef external fill:#f9f,stroke:#333,stroke-width:2px classDef typesStyle fill:#e8daef,stroke:#8e44ad classDef thingsCoreStyle fill:#d5f5e3,stroke:#27ae60 classDef thingsExtStyle fill:#d4efdf,stroke:#2ecc71 classDef thingsExtV1Style fill:#a9dfbf,stroke:#1e8449 classDef identStyle fill:#fdebd0,stroke:#e67e22 classDef mixinStyle fill:#d6eaf8,stroke:#2980b9 classDef flatStyle fill:#fadbd8,stroke:#e74c3c classDef demoStyle fill:#fef9e7,stroke:#f39c12 class linkml external class types_v1,types_unrel typesStyle class things_v2,things_v1,things_unrel thingsCoreStyle class things_props_unrel,things_data_unrel,things_dist_unrel,things_files_unrel,things_prov_unrel,things_pub_unrel,things_res_unrel,things_rules_unrel,things_social_unrel,things_study_unrel thingsExtStyle class things_props_v1,things_data_v1,things_dist_v1,things_files_v1,things_prov_v1,things_pub_v1,things_res_v1,things_rules_v1,things_social_v1,things_study_v1 thingsExtV1Style class ident_unrel identStyle class common_mx,files_mx,prov_mx,pub_mx,quant_mx,rel_mx,res_mx,social_mx,spatial_mx,study_mx,temporal_mx,versions_mx mixinStyle class flat_unrel,flat_files,flat_prov,flat_pub,flat_res,flat_social,flat_study flatStyle class demo_emp,demo_ra,demo_ri,demo_rse demoStyle ``` </details>
mih commented 2026-03-25 11:19:12 +00:00 (Migrated from github.com)

Hey, thanks for the PR. However, I will close it.

The centralization aspect is good on its own, whoever, it solves a problem that only exists when deprecated/obsolete schema components are re-entangled with the current releases. This is not desirable.

AFAICS when looking from the perspective of any schema listed at https://concepts.datalad.org/#latest-releases there is no centralization, only added complexity by introducing a schema dependency to things/v2+, which complicates handling.

Hey, thanks for the PR. However, I will close it. The centralization aspect is good on its own, whoever, it solves a problem that only exists when deprecated/obsolete schema components are re-entangled with the current releases. This is not desirable. AFAICS when looking from the perspective of any schema listed at https://concepts.datalad.org/#latest-releases there is no centralization, only added complexity by introducing a schema dependency to `things/v2+`, which complicates handling.
yarikoptic (Migrated from github.com) reviewed 2026-03-25 13:29:56 +00:00
@ -68,4 +53,3 @@
base: str
typeof: string
pattern: "^[a-fA-F0-9]+$"
description: >-
yarikoptic (Migrated from github.com) commented 2026-03-25 13:29:56 +00:00

note to myself: I think this is THE (only) v1/ I managed to pull in here,

and there is LOTS of other v1/ refs in unreleased.yaml otherwise
❯ git grep '/v1' -- src/**/unreleased.yaml
src/demo-empirical-data/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/demo-empirical-data/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/demo-research-assets/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/demo-research-assets/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/demo-research-information/unreleased.yaml:  - dlschemas:things-data/v1
src/demo-research-information/unreleased.yaml:  - dlschemas:things-files/v1
src/demo-research-information/unreleased.yaml:  - dlschemas:things-publications/v1
src/demo-research-information/unreleased.yaml:  - dlschemas:things-resources/v1
src/demo-research-information/unreleased.yaml:  - dlschemas:things-prov/v1
src/demo-research-information/unreleased.yaml:  - dlschemas:things-social/v1
src/demo-research-information/unreleased.yaml:  - dlschemas:things-study/v1
src/demo-research-information/unreleased.yaml:  - dlschemas:things-rules/v1
src/demo-rse-group/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/demo-rse-group/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/files-mixin/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/files-mixin/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/files-mixin/unreleased.yaml:  - dlschemas:things/v1
src/flat-files/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/flat-files/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/flat-prov/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/flat-prov/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/flat-publications/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/flat-publications/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/flat-resources/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/flat-resources/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/flat-social/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/flat-social/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/flat-study/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/flat-study/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/flat/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/flat/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/flat/unreleased.yaml:  - dlschemas:things/v1
src/identifiers/unreleased.yaml:  - [`types`](https://concepts.datalad.org/s/types/v1)
src/identifiers/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/identifiers/unreleased.yaml:  - dlschemas:types/v1
src/prov-mixin/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/prov-mixin/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/prov-mixin/unreleased.yaml:  - dlschemas:things/v1
src/publications-mixin/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/publications-mixin/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/publications-mixin/unreleased.yaml:  - dlschemas:things/v1
src/quantities-mixin/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/quantities-mixin/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/quantities-mixin/unreleased.yaml:  - dlschemas:things/v1
src/relations-mixin/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/relations-mixin/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/relations-mixin/unreleased.yaml:  - dlschemas:things/v1
src/resources-mixin/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/resources-mixin/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/resources-mixin/unreleased.yaml:  - dlschemas:things/v1
src/spatial-mixin/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/spatial-mixin/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/spatial-mixin/unreleased.yaml:  - dlschemas:things/v1
src/study-mixin/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/study-mixin/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/study-mixin/unreleased.yaml:  - dlschemas:things/v1
src/things/unreleased.yaml:  # Defined here (not in types/unreleased) because things-properties/v1
src/types/unreleased.yaml:  This schema extends [types/v1](../../types/v1) with additional reusable
src/types/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/versions-mixin/unreleased.yaml:  dlthings: https://concepts.datalad.org/s/things/v1/
src/versions-mixin/unreleased.yaml:  dltypes: https://concepts.datalad.org/s/types/v1/
src/versions-mixin/unreleased.yaml:  - dlschemas:things/v1

so requires a re-review

note to myself: I think this is THE (only) `v1/` I managed to pull in here, <details> <summary>and there is LOTS of other v1/ refs in unreleased.yaml otherwise</summary> ```shell ❯ git grep '/v1' -- src/**/unreleased.yaml src/demo-empirical-data/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/demo-empirical-data/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/demo-research-assets/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/demo-research-assets/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/demo-research-information/unreleased.yaml: - dlschemas:things-data/v1 src/demo-research-information/unreleased.yaml: - dlschemas:things-files/v1 src/demo-research-information/unreleased.yaml: - dlschemas:things-publications/v1 src/demo-research-information/unreleased.yaml: - dlschemas:things-resources/v1 src/demo-research-information/unreleased.yaml: - dlschemas:things-prov/v1 src/demo-research-information/unreleased.yaml: - dlschemas:things-social/v1 src/demo-research-information/unreleased.yaml: - dlschemas:things-study/v1 src/demo-research-information/unreleased.yaml: - dlschemas:things-rules/v1 src/demo-rse-group/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/demo-rse-group/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/files-mixin/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/files-mixin/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/files-mixin/unreleased.yaml: - dlschemas:things/v1 src/flat-files/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/flat-files/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/flat-prov/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/flat-prov/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/flat-publications/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/flat-publications/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/flat-resources/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/flat-resources/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/flat-social/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/flat-social/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/flat-study/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/flat-study/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/flat/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/flat/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/flat/unreleased.yaml: - dlschemas:things/v1 src/identifiers/unreleased.yaml: - [`types`](https://concepts.datalad.org/s/types/v1) src/identifiers/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/identifiers/unreleased.yaml: - dlschemas:types/v1 src/prov-mixin/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/prov-mixin/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/prov-mixin/unreleased.yaml: - dlschemas:things/v1 src/publications-mixin/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/publications-mixin/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/publications-mixin/unreleased.yaml: - dlschemas:things/v1 src/quantities-mixin/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/quantities-mixin/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/quantities-mixin/unreleased.yaml: - dlschemas:things/v1 src/relations-mixin/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/relations-mixin/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/relations-mixin/unreleased.yaml: - dlschemas:things/v1 src/resources-mixin/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/resources-mixin/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/resources-mixin/unreleased.yaml: - dlschemas:things/v1 src/spatial-mixin/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/spatial-mixin/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/spatial-mixin/unreleased.yaml: - dlschemas:things/v1 src/study-mixin/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/study-mixin/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/study-mixin/unreleased.yaml: - dlschemas:things/v1 src/things/unreleased.yaml: # Defined here (not in types/unreleased) because things-properties/v1 src/types/unreleased.yaml: This schema extends [types/v1](../../types/v1) with additional reusable src/types/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/versions-mixin/unreleased.yaml: dlthings: https://concepts.datalad.org/s/things/v1/ src/versions-mixin/unreleased.yaml: dltypes: https://concepts.datalad.org/s/types/v1/ src/versions-mixin/unreleased.yaml: - dlschemas:things/v1 ``` </details> so requires a re-review
yarikoptic commented 2026-03-25 13:32:52 +00:00 (Migrated from github.com)

it has been awhile and my mental context is gone, but quickly re-looking through - I left a comment on where I added additional /v1 dependency... I think that is largely orthogonal aspect as there are many other v1 imports (which likely pull in that /v1 types anyways, didn't review the hierarchy diagram) and in added here specifically it could be reworked to not extend but create a copy instead (I hope), and then still achieve centralization (thus avoidance of duplicates).

it has been awhile and my mental context is gone, but quickly re-looking through - I left a comment on where I added additional /v1 dependency... I think that is largely orthogonal aspect as there are many other v1 imports (which likely pull in that /v1 types anyways, didn't review the hierarchy diagram) and in added here specifically it could be reworked to not extend but create a copy instead (I hope), and then still achieve centralization (thus avoidance of duplicates).

Pull request closed

Sign in to join this conversation.
No description provided.