-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does the schema allow for meta or display information? #133
Comments
Hey Colin, We've had a few people reach out for this idea already. My idea
That is super rough draft but just an example of making a mapping instead On Sun, Aug 3, 2014 at 1:14 PM, Colin Dean [email protected] wrote:
Thomas Davis VP of Tech - Earbits - http://earbits.com |
I'd prefer your draft, @thomasdavis |
Note that the OPs example problem is not tackled by the ACL example. How would we "exclude", say, the 5th element of |
@wdoekes The OP's example is certainly more fine-grained, but you always have to balance detail against complexity. Of course, you could extend @thomasdavis's example so that it can define paths in the JSON or may list the index of a child if the parent is an array. But then, the question is really if the OP's example isn't becoming simpler. |
I think 'ACL' gives a false sense of security. Anyone who has access to your jsonresume, has access to all data on it. The only thing the ACL does, is restrict output of the tools that generate actual representations of the resumes. I think another name would be better, but I have no idea yet what that name should be. |
@dandydev Good point, and another reason why the OP's example may be a better solution after all. |
For that reason, I'm indeed in favor of the OP's solution, or something like that. We could also call them "tags" instead of "groups", and tools can do whatever they like with them :) |
If anyone could explain to me: When would this be feature be used? And by what tool? |
@erming The OP wants to have one version of their CV and generate varying exports without touching the CV's JSON source again. Otherwise, you would have to go through your CV and delete sections that you don't want to appear in your current export. |
Exactly. It keeps you from having to maintain two resumes. |
So I've been brainstorming an encryption layer, where each acl key has a On Mon, Aug 4, 2014 at 11:48 PM, Daan Debie [email protected]
Thomas Davis VP of Tech - Earbits - http://earbits.com |
But what use is that? A Resume is public information by definition. No need to encrypt that :) If anything, you could cryptographically sign it, but I think that is overengineering IMHO. |
A resume is not necessarily public, we already have pass phrase encrypted On Mon, Aug 4, 2014 at 11:55 PM, Daan Debie [email protected]
Thomas Davis VP of Tech - Earbits - http://earbits.com |
@mwaclawek and @dandydev: But here's why I don't like this feature:
And don't get me wrong, I understand the reason behind this feature. But in practice, I think that the "KISS"-approach is a better feature to have. |
@thomasdavis Is it pass phrase restricted or pass phrase encrypted? In any case, I think it's the job of the tooling to deal with encryption if necessary. It should not be part of the jsonresume spec. And @erming has some valid points not to include tags/groups at all, and I'm inclined to agree with him there. |
Yeah, definitely keep it in tooling. But not a bad place to discuss On Tue, Aug 5, 2014 at 12:08 AM, Daan Debie [email protected]
Thomas Davis VP of Tech - Earbits - http://earbits.com |
Pointing to #35. It describes a similar problem, but for a different purpose. For certain solutions (for starters, allowing blocks to be reused by multiple languages) you could have a workaround for the OPs problem: create a bogus en_TECH and a en_NONPROFIT language to export two different versions of the same container-resume. Of course I'm not advocating that we create workarounds at the design stage. But we might relax the purpose of #35 to allow both features to be possible... |
@erming 100% agreed! Personally, I would not add this feature. Adding ACLs and an encryption layer, defining group access for single sections, and still not having a solution for the OP's original example (which needs more fine-grained controls) -- this is definitely not KISS. I'm sure that, for the minority of users that need this, simply managing two versions of a |
Wow, this got a whole lot more attention than I thought it would 👍 While having ACLs on the document itself would be nice, that's not really what I desire here. My motivation, my core objective, is to convey that there are multiple aspects of my professional life by grouping jobs together using some kind of common label. My proposed solution is to add a I realize that not everyone has a resume that could be as complex as mine can be, which is why I want the freedom of an open area of the schema that maybe only I care about, so that I can use my Discussion about ACLs, encryption, i18n, etc. should be reticked if issues about those don't already exist.
What is the recommended method that already exists to address this use case? |
Another consideration I had today was using this for priority assignment and other metadata on fields that normally just have a string value. Those fields can be a string OR be an object with a E.g.
But I'm not sold on that idea, and it's probably worth discussing in another issue thread if the idea of |
@colindean If that's really all you want, then just start using your custom |
Excellent. That addresses the short term solution. Now, perhaps there can be some extended discussion on if I dislike tags, because that lends itself to meta-tagging, e.g.
Still feels more appropriate for the |
Needing different resumes for different job applications is a frequent use-case, so any way to accomplish that from 1 source .json would be a great feature. |
I would say the easiest way would be to use labels. They are already in use with some other parts. |
+1 for having one json master and being able to export different versions based on metadata So I take it this is possible today? Could someone please summarize the possible ways to achieve this? |
Not possible today, but hopefully possible with the introduction of more keywords and some metadata info. Still being discussed in how many areas keywords are added and what the format for metadata for hiding and showing based on different areas will be. |
I think we agreed on having meta data within a metadata section described here: #204. This could be used for tagging, export rules and display information. Closing for now. If one disagrees about the closing of this issues, please reopen. |
I think a way to do today might be to have a main We can "fork" several new json resumes by applying some filtering based on those metadata from the Then, we may publish (publicly of privately) both "forked" flowchart TD
resume.json["resume.json (single source of truth)"]
resume.json-- transform with some script--> volunteer/resume.json
volunteer/resume.json -- generate --> volunteer/resume.html
subgraph public [Public repository]
volunteer/resume.json
volunteer/resume.html
end
resume.json -- transform with some script --> professional/resume.json
professional/resume.json -- generate --> professional/resume.html
subgraph private [Private repository]
professional/resume.json
professional/resume.html
end
Edit: |
I have a lot of positions and a lot of volunteer work, but there are only certain ones that I'd want to show for certain aspects of my life. E.g., if I'm applying to a tech job, then I probably only want my tech jobs to show up on the resume. If I'm applying to a non-profit, then they probably only really care about my non-profit work and perhaps whatever it is I'm doing right now full-time.
What I think I'd like to do is be able to add a
meta
section of some kind, e.g.:I think my example makes sense. Essentially, I have many aspects of my life, and I'd like for a standards-compliant way to group them. Because my grouping may be arbitrary, or have other logic, it might be nice to throw it into a
_meta
bucket that acts as a bit of a namespaced area.Or this proposed solution may not be the best way to proceed in a JSON Schema fashion. In an XML resume format, I'd expect to be able to do something like
<meta:groups><meta:group>tech</meta:group><meta:group>non-profit</meta:group></meta:groups>
, but I don't know how best to reflect that in a JSON Schema world.The text was updated successfully, but these errors were encountered: