Skip to content

Commit

Permalink
Add user profiles
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
  • Loading branch information
prudhvigodithi committed Sep 11, 2024
1 parent 5b8057f commit ff15e7b
Show file tree
Hide file tree
Showing 7 changed files with 154 additions and 0 deletions.
75 changes: 75 additions & 0 deletions .github/user-profile-schema-validation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"type": "object",
"properties": {
"name": { "type": "string" },
"github_username": { "type": "string" },
"opensearch_slack_username": { "type": "string" },
"company": { "type": "string" },
"job_title": { "type": "string" },
"location": { "type": "string" },
"profile_image": {
"type": "string",
"pattern": "^\\.\\./assets/profile-images/.*\\.jpg$"
},
"social_media_profiles": {
"type": "object",
"properties": {
"linkedin_id": { "type": "string" },
"twitter_id": { "type": "string" }
},
"additionalProperties": false
},
"personas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"author",
"conference_speaker",
"osci"
]
},
"details": {
"type": "object",
"properties": {
"years": {
"type": "array",
"items": {
"type": "integer",
"enum": [2023, 2024]
},
"uniqueItems": true
},
"conference_ids": {
"type": "array",
"items": { "type": "string" },
"uniqueItems": true
}
},
"required": [],
"additionalProperties": false
}
},
"required": ["type"],
"additionalProperties": false
},
"uniqueItems": true
},
"description": {
"type": "string",
"maxLength": 255
}
},
"required": [
"name",
"github_username",
"opensearch_slack_username",
"company",
"job_title",
"description"
],
"additionalProperties": false
}
20 changes: 20 additions & 0 deletions .github/workflows/user-profile-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Validate User Profiles

on:
workflow_dispatch:
pull_request:
paths:
- 'user-profiles/*.json'

jobs:
json-yaml-validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: json-yaml-validate
id: json-yaml-validate
uses: GrantBirki/json-yaml-validate@v3.2.1
with:
json_schema: '.github/user-profile-schema-validation.json'
comment: "true"
Binary file added assets/profile-images/getsaurabh02.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/profile-images/prudhvigodithi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions user-profiles/CMDWillYang.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Will Yang",
"github_username": "CMDWillYang",
"opensearch_slack_username": "Will Yang",
"company": "Purdue University",
"job_title": "Senior",
"personas": [
{
"type": "osci",
"details": {
"years": ["2023"]
}
}
],
"description": "A senior at Purdue University studying CS!"
}
24 changes: 24 additions & 0 deletions user-profiles/getsaurabh02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "Saurabh Singh",
"github_username": "getsaurabh02",
"opensearch_slack_username": "Saurabh Singh",
"company": "AWS",
"job_title": "Software Development Manager",
"location": "Seattle WA",
"social_media_profiles": {
"linkedin_id": "getsaurabh02"
},
"personas": [
{
"type": "conference_speaker",
"details": {
"conference_ids": ["2023-north-america"]
}
},
{
"type": "author"
}
],
"description": "Saurabh is a Software Development Manager at AWS leading the core search, release, and benchmarking areas of the OpenSearch Project. His passion lies in finding solutions for intricate challenges within large-scale distributed systems.",
"profile_image": "../assets/profile-images/getsaurabh02.jpg"
}
19 changes: 19 additions & 0 deletions user-profiles/prudhvigodithi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Prudhvi Godithi",
"github_username": "prudhvigodithi",
"opensearch_slack_username": "prudhvi godithi",
"company": "Amazon",
"job_title": "Software Development Engineer",
"location": "Seattle WA",
"social_media_profiles": {
"linkedin_id": "prudhvi-godithi",
"twitter_id": "PGodithi"
},
"personas": [
{
"type": "author"
}
],
"description": "Prudhvi Godithi is an AWS Software Development Engineer working on the OpenSearch project.",
"profile_image": "../assets/profile-images/prudhvigodithi.jpg"
}

0 comments on commit ff15e7b

Please sign in to comment.