Skip to content

Instantly share code, notes, and snippets.

@dahjohnson
Created November 22, 2022 15:45
Show Gist options
  • Save dahjohnson/2ec7daec131e75962d4b2282d79acd8d to your computer and use it in GitHub Desktop.
Save dahjohnson/2ec7daec131e75962d4b2282d79acd8d to your computer and use it in GitHub Desktop.
Star Wars character data for DynamoDB table
{
"starwars": [
{
"PutRequest": {
"Item": {
"name": {"S": "Luke Skywalker"},
"height": {"N": "172"},
"mass": {"N": "77"},
"hair_color": {"S": "blonde"},
"skin_color": {"S": "fair"},
"eye_color": {"S": "blue"},
"birth_year": {"S": "19BBY"},
"gender": {"S": "male"},
"homeworld": {"S": "Tatooine"},
"species": {"S": "Human"}
}
}
},
{
"PutRequest": {
"Item": {
"name": {"S": "C-3PO"},
"height": {"N": "167"},
"mass": {"N": "75"},
"skin_color": {"S": "gold"},
"eye_color": {"S": "yellow"},
"birth_year": {"S": "112BBY"},
"homeworld": {"S": "Tatooine"},
"species": {"S": "Droid"}
}
}
},
{
"PutRequest": {
"Item": {
"name": {"S": "R2-D2"},
"height": {"N": "96"},
"mass": {"N": "32"},
"skin_color": {"S": "white, blue"},
"eye_color": {"S": "red"},
"birth_year": {"S": "33BBY"},
"homeworld": {"S": "Naboo"},
"species": {"S": "Droid"}
}
}
},
{
"PutRequest": {
"Item": {
"name": {"S": "Darth Vader"},
"height": {"N": "202"},
"mass": {"N": "136"},
"skin_color": {"S": "white"},
"eye_color": {"S": "yellow"},
"birth_year": {"S": "41.9BBY"},
"gender": {"S": "male"},
"homeworld": {"S": "Tatooine"},
"species": {"S": "Human"}
}
}
},
{
"PutRequest": {
"Item": {
"name": {"S": "Obi-Wan Kenobi"},
"height": {"N": "182"},
"mass": {"N": "77"},
"hair_color": {"S": "auburn, white"},
"skin_color": {"S": "fair"},
"eye_color": {"S": "blue-gray"},
"birth_year": {"S": "57BBY"},
"gender": {"S": "male"},
"homeworld": {"S": "Stewjon"},
"species": {"S": "Human"}
}
}
},
{
"PutRequest": {
"Item": {
"name": {"S": "Anakin Skywalker"},
"height": {"N": "188"},
"mass": {"N": "84"},
"hair_color": {"S": "blonde"},
"skin_color": {"S": "fair"},
"eye_color": {"S": "blue"},
"birth_year": {"S": "41.9BBY"},
"gender": {"S": "male"},
"homeworld": {"S": "Tatooine"},
"species": {"S": "Human"}
}
}
},
{
"PutRequest": {
"Item": {
"name": {"S": "Chewbacca"},
"height": {"N": "228"},
"mass": {"N": "112"},
"hair_color": {"S": "brown"},
"skin_color": {"S": ""},
"eye_color": {"S": "blue"},
"birth_year": {"S": "200BBY"},
"gender": {"S": "male"},
"homeworld": {"S": "Kashyyyk"},
"species": {"S": "Wookiee"}
}
}
},
{
"PutRequest": {
"Item": {
"name": {"S": "Han Solo"},
"height": {"N": "180"},
"mass": {"N": "80"},
"hair_color": {"S": "brown"},
"skin_color": {"S": "fair"},
"eye_color": {"S": "brown"},
"birth_year": {"S": "29BBY"},
"gender": {"S": "male"},
"homeworld": {"S": "Corellia"},
"species": {"S": "Human"}
}
}
},
{
"PutRequest": {
"Item": {
"name": {"S": "Yoda"},
"height": {"N": "66"},
"mass": {"N": "17"},
"hair_color": {"S": "white"},
"skin_color": {"S": "green"},
"eye_color": {"S": "brown"},
"birth_year": {"S": "896BBY"},
"gender": {"S": "male"},
"species": {"S": "Yoda's species"}
}
}
},
{
"PutRequest": {
"Item": {
"name": {"S": "Palpatine"},
"height": {"N": "170"},
"mass": {"N": "75"},
"hair_color": {"S": "grey"},
"skin_color": {"S": "pale"},
"eye_color": {"S": "yellow"},
"birth_year": {"S": "82BBY"},
"gender": {"S": "male"},
"homeworld": {"S": "Naboo"},
"species": {"S": "Human"}
}
}
},
{
"PutRequest": {
"Item": {
"name": {"S": "Rey"},
"hair_color": {"S": "brown"},
"skin_color": {"S": "light"},
"eye_color": {"S": "hazel"},
"gender": {"S": "female"},
"species": {"S": "Human"}
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment