Giter Club home page Giter Club logo

Comments (4)

moranegg avatar moranegg commented on September 26, 2024 1

Dear @vuillaut,

Thanks for the comment.
My suggestion is to open the issue directly in the codemeta-generator repo.
Feedback to improve the generator is very welcome. PRs are welcomed too, when possible.

I'm closing this issue here.
Cheers

from codemeta.

tmorrell avatar tmorrell commented on September 26, 2024

My impression is that CodeMeta intentionally selects a subset of schema.org terms that are most useful for software. In this case 'name' is used in many places in CodeMeta, so it's easiest to also use it for affiliation. Switching to 'legalName' for affiliation would add unnecessary complexity.

from codemeta.

dgarijo avatar dgarijo commented on September 26, 2024

@vuillaut @tmorrell I think the online generator is meant to be a guide rather than an enforcement.
If something is valid in schema.org, it should be valid in codemeta, as codemeta extends schema.org.

There are other examples where the validator fails, which are technically valid cases. For example, if the repository has a logo, and you use image from Schema.org (which is valid for any element), the validator fails. Also, if you have multiple descriptions (e.g., a short description and a long description, or a description of your software in english and another in spanish), the validator will also fail.

from codemeta.

mbjones avatar mbjones commented on September 26, 2024

I agree that including legalName should not create an error. That said, I think the intention of CodeMeta is to provide opinionated guidelines on which schema.org fields really should be provided for software. So, for example, name should be used, even if legalName is also used, and the absence of name should be considered to not be following CodeMeta guidelines. I think the challenge is getting the online generator to work with the essentially unlimited flexibility of the schema.org model -- there are far too many permutations to make a usable user experience in the editor. If you want the full flexibility of the schema.org model, break out your trusty text editor and edit away, rather than trying to do it all in the generator app. So, maybe the editor should stay how it is and edit the documents and fields that it knows how to handle, and a separate validator could be provided that indicates whether any given schema.org entry is valid. The generator might even say something to the effect of "While this document is valid wrt schema.org, it uses fields that the generator is not designed to handle, so will need to be edited elsewhere".

from codemeta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.