irrationnelle / consearch

Simple Application to search concerts you wanna see
MIT License
1 stars 0 forks source link

공연 데이터 json 구조 #15

Open irrationnelle opened 3 years ago

irrationnelle commented 3 years ago

데이터 구조

interface ConcertProperty {
  title: string;
  artist: {id: number; name: string;}[];
  stage: string;
  address: string;
  genre: string;
  date: Timestamp;
  coverImage?: string;
}

const EXAMPLE_DATA: ConcertProperty = {
  title: '대환장파티',
  artist: [{ id: 1, name: '라니아' }, { id: 8, name: '자우림' }],
  stage: '롤링홀',
  address: '서울 마포구 어울마당로 35',
  genre: 'rockmetal',
  date: Timestamp.fromDate(new Date('2012-11-19T22:30:00')),
  coverImage: '',
};

고려한 점

주의할 점

당시 회의 때 이야기 나누었던 다음 세 가지 카테고리는 entity 로서 역할한다.