Skip to content
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

Update the enumerators data file to add explanations to values. #48

Closed
Tracked by #30
michquinn opened this issue Feb 4, 2024 · 2 comments
Closed
Tracked by #30
Assignees

Comments

@michquinn
Copy link
Contributor

michquinn commented Feb 4, 2024

@FlatBallFlyer proposes this structure

{
    "people" : {
        "status": {
            "Draft":"New object created, not yet valid",
            "Active":"Active member, meeting with a mentor",
            "Archived":"Soft-Delete indicator"
         },
         "title": {
            "Apprentice Candidate":"Learning a Full Stack",
            "Apprentice":"Mastered Full Stack development",
            "Resident":"A T-Shaped Engineer working toward mastery",
            "Master":"A master engineer, mentoring other engineers",
            "Distinguished":"A distinguished engineer, leading multiple teams", 
         },
         // next enumerated attribute
    },
    // next collection
}
@michquinn michquinn mentioned this issue Feb 4, 2024
3 tasks
@michquinn
Copy link
Contributor Author

michquinn commented Feb 4, 2024

Based on an issue from the JSON Schema repo, one possible approach is as follows:

"status": {
	"person":
	{
		"oneOf": [
			{"const": "Pending", "title": "Signed up and awaiting a mentor assignment"},
			{"const": "Active", "title": "Actively meeting with a mentor"},
			{"const": "Inactive", "title": "On a drip follow-up campaign, not active"},
			{"const": "Archived", "title": "Soft-delete indicator"}
		]
	}
}

@michquinn michquinn self-assigned this Feb 4, 2024
@michquinn michquinn changed the title Update the enumerators data file (it's schema-less) to add explanations to values. Update the enumerators data file to add explanations to values. Feb 5, 2024
@FlatBallFlyer
Copy link
Contributor

I updated the description with a proposal, let's shift to a PR for further discussions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants