{"id":241,"date":"2016-02-04T11:29:34","date_gmt":"2016-02-04T02:29:34","guid":{"rendered":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2016\/02\/04\/insert_mock_data"},"modified":"2016-02-04T11:29:34","modified_gmt":"2016-02-04T02:29:34","slug":"insert_mock_data","status":"publish","type":"post","link":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2016\/02\/04\/insert_mock_data\/","title":{"rendered":"\u958b\u767a\u7528\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u306e\u4f5c\u6210\u65b9\u6cd5\u3067\u8a66\u884c\u932f\u8aa4\u3057\u305f"},"content":{"rendered":"

\"\"<\/p>\n

\u524d\u7530\u3067\u3059\u3002
\n\u4eca\u5e74\u306e\u51ac\u306f\u5bd2\u3044\u3067\u3059\u306d\u3002
\n\u30d7\u30c1\u6c37\u6cb3\u671f\u306b\u5165\u3063\u305f\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n

\u307f\u306a\u3055\u3093\u306f\u3001\u958b\u767a\u3059\u308b\u6642\u306e\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u4f5c\u6210\u306a\u3069\u306f\u3069\u306e\u3088\u3046\u306b\u3055\u308c\u3066\u3044\u307e\u3059\u3067\u3057\u3087\u3046\u304b\uff1f
\n\u4eca\u56de\u306fRails\u3067\u3001\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u4f5c\u6210\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8272\u3005\u8a66\u884c\u932f\u8aa4\u3057\u305f\u7d50\u679c\u3092\u307e\u3068\u3081\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n

\u65b9\u6cd51: dump\u30c7\u30fc\u30bf\u3092\u5165\u308c\u308b<\/h2>\n

mysqldump<\/code>\u3067\u5410\u304d\u51fa\u3057\u305fdump\u30c7\u30fc\u30bf\u3092\u5171\u6709\u3057\u3001\u5404\u958b\u767a\u74b0\u5883\u3067DB\u306b\u5165\u308c\u308b\u3001\u3068\u3044\u3046\u65b9\u6cd5\u3067\u3059\u3002
\n\u30e1\u30ea\u30c3\u30c8\u306f\u3001\u5b9f\u884c\u304c\u65e9\u3044\u3001migration\u3092\u3057\u306a\u304f\u3066\u3082\u826f\u3044\u3001\u306a\u3069\u3067\u3059\u3002
\n\u5f0a\u793e\u3067\u306f\u30d5\u30ed\u30f3\u30c8\u30b5\u30a4\u30c9\u306e\u65b9\u9054\u3082\u3001\u30ed\u30fc\u30ab\u30eb\u3067API\u3092\u53e9\u304f\u70ba\u306bRails\u306e\u74b0\u5883\u3092\u4f5c\u3063\u3066\u3001\u30c7\u30fc\u30bf\u3092\u5165\u308c\u3066\u3001\u306a\u3069\u3092\u3057\u3066\u3044\u307e\u3059\u304c\u3001Rails\u306emigration\u306b\u3064\u3044\u3066\u306e\u77e5\u8b58\u3092\u7fd2\u5f97\u3057\u306a\u304f\u3066\u3082\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u3092\u6e96\u5099\u51fa\u6765\u308b\u3068\u3044\u3046\u306e\u306f\u30e1\u30ea\u30c3\u30c8\u3067\u3059\u306d\u3002
\n\u30c7\u30e1\u30ea\u30c3\u30c8\u306fDB\u30b9\u30ad\u30fc\u30de\u306e\u5909\u66f4\u304c\u767a\u751f\u3059\u308b\u6642\u306b\u3001dump\u30c7\u30fc\u30bf\u3092\u6bce\u56de\u6e96\u5099\u3059\u308b\u306e\u304c\u9762\u5012\u3001\u3068\u3044\u3046\u3068\u3053\u308d\u3067\u3057\u3087\u3046\u304b\u3002
\n\u958b\u767a\u521d\u671f\u306f\u3001DB\u30b9\u30ad\u30fc\u30de\u306e\u5909\u66f4\u304c\u767a\u751f\u3057\u3084\u3059\u3044\u306e\u3067\u3001\u305d\u306e\u5ea6\u306bdump\u30c7\u30fc\u30bf\u3092\u65b0\u3057\u3044\u3082\u306e\u306b\u7f6e\u304d\u63db\u3048\u3066\u5171\u6709\u3059\u308b\u3001\u3068\u3044\u3046\u306e\u306f\u5c11\u3057\u9762\u5012\u306a\u6c17\u304c\u3057\u307e\u3059\u3002
\n\u30d6\u30e9\u30f3\u30c1\u6bce\u306b\u30b9\u30ad\u30fc\u30de\u304c\u9055\u3063\u305f\u308a\u306a\u3069\u3057\u305f\u6642\u3082\u9762\u5012\u3067\u3059\u3002
\n\u304d\u3061\u3093\u3068\u5bfe\u5fdc\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u3089\u3001\u8272\u3005\u306a\u30d1\u30bf\u30fc\u30f3\u306edump\u30c7\u30fc\u30bf\u3092\u7528\u610f\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u3001\u3068\u3044\u3046\u306e\u304c\u7169\u96d1\u306a\u306e\u3067\u3001\u958b\u767a\u4e2d(\u904b\u7528\u524d)\u306e\u30b9\u30ad\u30fc\u30de\u306e\u5909\u66f4\u304c\u8d77\u304d\u3084\u3059\u3044\u6642\u671f\u306e\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u4f5c\u6210\u306b\u306f\u5411\u3044\u3066\u3044\u306a\u3044\u304b\u306a\u3001\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n

\u65b9\u6cd5:2 FactoryGirl\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u3092\u5165\u308c\u308b<\/h2>\n

FactoryGirl\u306fRSpec\u3067\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u3092\u7c21\u5358\u306b\u4f5c\u308b\u70ba\u306egem\u3067\u3059\u3002
\n\u3069\u3046\u305b\u30c6\u30b9\u30c8\u3067FactoryGirl\u3092\u4f7f\u3063\u3066\u5b9a\u7fa9\u3057\u3066\u3044\u304f\u306e\u3060\u304b\u3089\u3001\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u3092\u4f5c\u3063\u3066\u3044\u3063\u305f\u3089\u4e00\u77f3\u4e8c\u9ce5\u306b\u306a\u308b\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u601d\u3063\u3066\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n

\u3057\u304b\u3057\u3001\u958b\u767a\u7528\u306e\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u306f\u51fa\u6765\u308b\u3060\u3051\u30ea\u30a2\u30eb\u306b\u8fd1\u3044\u30c7\u30fc\u30bf\u3092\u6e96\u5099\u3057\u305f\u3044\u306e\u3067\u3001RSpec\u306e\u30c6\u30b9\u30c8\u7528\u30c7\u30fc\u30bf\u3092\u958b\u767a\u7528\u306e\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u306e\u306f\u7121\u7406\u304c\u3042\u308a\u307e\u3057\u305f\u3002
\n\u307e\u305f\u3001FactoryGirl\u306e\u30c7\u30fc\u30bf\u4f5c\u6210\u3092\u3001\u958b\u767a\u7528\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u306e\u3088\u3046\u306a\u3001\u30ea\u30a2\u30eb\u306a\u30c7\u30fc\u30bf\u306b\u3059\u308b\u3001\u3068\u3044\u3046\u65b9\u6cd5\u3082\u8a66\u3057\u307e\u3057\u305f\u304c\u3001\u305d\u306e\u30c7\u30fc\u30bf\u306e\u7ba1\u7406\u304c\u9762\u5012\u306a\u306e\u3068\u3001RSpec\u30c6\u30b9\u30c8\u5185\u3067\u958b\u767a\u7528\u30c7\u30fc\u30bf\u3068RSpec\u7528\u30c7\u30fc\u30bf\u3092\u4f5c\u308a\u5206\u3051\u305f\u308a\u3059\u308b\u3053\u3068\u306a\u3069\u304c\u9762\u5012\u3067\u3057\u305f\u3002<\/p>\n

\u65b9\u6cd5:3 yaml_db gem \u3092\u4f7f\u3046<\/h2>\n

yaml_db gem<\/a> \u306f\u3001\u73fe\u5728\u306eDB\u306b\u5165\u3063\u3066\u3044\u308b\u30c7\u30fc\u30bf\u3092yaml\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\u306bdump\u3057\u3066\u304f\u308c\u307e\u3059\u3002
\nyaml\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u4f5c\u6210\u3057\u305f\u308a\u3001\u4fee\u6b63\u3057\u305f\u308a\u3082\u53ef\u80fd\u3067\u3059\u3002
\n\u30ec\u30dd\u30b8\u30c8\u30ea\u306b\u542b\u3081\u3066\u5171\u6709\u5316\u3059\u308b\u3068\u3001\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u4f5c\u6210\u306e\u904b\u7528\u304c\u4e0a\u624b\u304f\u3044\u304f\u306e\u3067\u306f\u7121\u3044\u304b\u3068\u8003\u3048\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n

\u3057\u304b\u3057\u3001\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u308b\u3068\u3001\u9762\u5012\u306a\u90e8\u5206\u304c\u591a\u3005\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n

\u30b9\u30ad\u30fc\u30de\u3092\u5909\u66f4\u3057\u305f\u6642\u306b\u3001\u3059\u3079\u3066\u306e\u30ab\u30e9\u30e0\u3092\u5b9a\u7fa9\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044<\/strong><\/p>\n

\u4f8b\u3048\u3070\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u304c\u3042\u3063\u305f\u3068\u3057\u3066\u3001<\/p>\n

books:\n  columns:\n  - id\n  - title\n  - created_at\n  - updated_at\n  records:\n  - - 1\n    - \u30c9\u30e9\u30b4\u30f3\u30dc\u30fc\u30eb\n    - 2016-02-04 07:00:00.000000000 Z\n    - 2016-02-04 07:00:00.000000000 Z\n  - - 2\n    - \u30b9\u30e9\u30e0\u30c0\u30f3\u30af\n    - 2016-02-04 07:00:00.000000000 Z\n    - 2016-02-04 07:00:00.000000000 Z<\/code><\/pre>\n

null: true<\/code>\u306e\u30ab\u30e9\u30e0\u3092\u8ffd\u52a0\u3057\u305f\u6642\u3067\u3082\u3001\u5404\u30c7\u30fc\u30bf\u306b\u3053\u3046\u66f8\u304b\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002<\/p>\n

books:\n  columns:\n  - id\n  - title\n  - author\n  - created_at\n  - updated_at\n  records:\n  - - 1\n    - \u30c9\u30e9\u30b4\u30f3\u30dc\u30fc\u30eb\n    -\n    - 2016-02-04 07:00:00.000000000 Z\n    - 2016-02-04 07:00:00.000000000 Z\n  - - 2\n    - \u30b9\u30e9\u30e0\u30c0\u30f3\u30af\n    -\n    - 2016-02-04 07:00:00.000000000 Z\n    - 2016-02-04 07:00:00.000000000 Z<\/code><\/pre>\n

null ok<\/code>\u306e\u30ab\u30e9\u30e0\u306b\u3044\u3061\u3044\u3061\u8ffd\u52a0\u3059\u308b\u306e\u306f\u9762\u5012\u3067\u3059\u3002
\n\u307e\u305f\u3001created_at<\/code>\u3084updated_at<\/code>\u30ab\u30e9\u30e0\u3082\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3057\u305f\u6642\u306b\u4e00\u7dd2\u306b\u8ffd\u52a0\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u306e\u3082\u9762\u5012\u3067\u3059\u3002<\/p>\n

\u4f9d\u5b58\u95a2\u4fc2\u3092\u8003\u616e\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044<\/strong><\/p>\n

\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3059\u308b\u6642\u306b\u3001\u5916\u90e8\u30ad\u30fc\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u8003\u616e\u3057\u306a\u304c\u3089\u30c7\u30fc\u30bf\u4f5c\u6210\u306e\u5b9f\u884c\u9806\u5e8f\u3092\u6c7a\u3081\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002
\n\u30c6\u30fc\u30d6\u30eb\u30c7\u30fc\u30bf\u6bce\u306b\u30c7\u30fc\u30bf\u3092\u5165\u308c\u308b\u3053\u3068\u306f\u51fa\u6765\u308b\u306e\u3067\u3059\u304c\u3001\u4f9d\u5b58\u95a2\u4fc2\u304c\u8907\u96d1\u306b\u306a\u3063\u3066\u3044\u304f\u3068\u3001\u3053\u306e\u30c7\u30fc\u30bf\u3092\u4f5c\u308b\u524d\u306b\u3053\u306e\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3057\u3066\u3001\u306a\u3069\u3001\u975e\u5e38\u306b\u9762\u5012\u306b\u306a\u3063\u3066\u304d\u307e\u3059\u3002
\n\u5404\u5916\u90e8\u30ad\u30fc\u306b\u5bfe\u5fdc\u3057\u305f\u30c7\u30fc\u30bf\u3092\u3044\u3061\u3044\u3061yaml\u306b\u66f8\u304b\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3082\u9762\u5012\u3067\u3057\u305f\u3002<\/p>\n

\u307e\u305f\u3001\u5b9f\u884c\u901f\u5ea6\u3082\u4f55\u6c17\u306b\u9045\u3044\u3067\u3059\u3002
\n\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u3092\u30d5\u30a1\u30a4\u30eb\u3067\u7ba1\u7406\u51fa\u6765\u308b\u3001\u3068\u3044\u3046\u3068\u3053\u308d\u306f\u826f\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u4e0d\u6e80\u304c\u591a\u304b\u3063\u305f\u306e\u3067\u3001\u3053\u306egem\u306f\u4f7f\u3044\u305f\u304f\u306a\u3044\u306a\u3001\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n

\u539f\u70b9\u306b\u623b\u308b<\/h2>\n

\u7d50\u5c40\u3069\u3046\u3057\u305f\u304b\u3068\u3044\u3046\u3068\u3001\u4e00\u756a\u30b7\u30f3\u30d7\u30eb\u306a\u65b9\u6cd5\u306a\u306e\u3067\u3059\u304c\u3001\u30c7\u30fc\u30bf\u3092ruby\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u3057\u3066\u3001rails console<\/code>\u304b\u3089\u5165\u308c\u308b\u3001\u3068\u3044\u3046\u65b9\u6cd5\u304c\u4e00\u756a\u826f\u3044\u304b\u306a\u3001\u3068\u601d\u3044\u307e\u3057\u305f\u3002
\nRails\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u3066\u3044\u308b\u4eba\u304c\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u306a\u3069\u3092\u4f5c\u6210\u3059\u308b\u6642\u306b\u3001MySQL\u3067\u5165\u308c\u308b\u4eba\u306f\u3044\u306a\u3044\u3067\u3059\u3088\u306d\uff1f
\n\u305f\u3044\u3066\u3044\u306frails console<\/code>\u304b\u3089\u30c7\u30fc\u30bf\u3092\u5165\u308c\u3066\u3044\u308b\u4eba\u304c\u307b\u3068\u3093\u3069\u3058\u3083\u306a\u3044\u304b\u306a\u3001\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n

\u305d\u306e\u30b3\u30fc\u30c9\u3092\u305d\u306e\u307e\u307e\u5229\u7528\u3059\u308b\u3060\u3051\u3067\u826f\u304b\u3063\u305f\u3093\u3067\u3059\u3002
\n\u65e9\u304f\u6c17\u4ed8\u304f\u3079\u304d\u3067\u3057\u305f\u3002<\/p>\n

\u4e0b\u8a18\u306e\u3088\u3046\u306bruby\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u3057\u3001\u8aad\u307f\u8fbc\u3080\u3060\u3051\u3067\u3059\u3002<\/p>\n

book1 = Book.create(title: '\u30c9\u30e9\u30b4\u30f3\u30dc\u30fc\u30eb', author: '\u9ce5\u5c71\u660e')\nBook2 = Book.create(title: '\u30b9\u30e9\u30e0\u30c0\u30f3\u30af')\n\nbook1.stores << [Store.create(name: '\u7d00\u4f0a\u570b\u5c4b\u66f8\u5e97'), Store.create(name: '\u8526\u5c4b\u66f8\u5e97')]\nbook2.stores << Store.create(name: '\u4e09\u7701\u5802\u66f8\u5e97')<\/code><\/pre>\n
$ rails runner 'mock.rb'<\/code><\/pre>\n

null ok<\/code>\u306e\u30c7\u30fc\u30bf\u3082\u7121\u8996\u3067\u304d\u308b\u3057\u3001\u30b9\u30ad\u30fc\u30de\u5909\u66f4\u306b\u5bfe\u5fdc\u3057\u3084\u3059\u3044\u3057\u3001\u4f9d\u5b58\u95a2\u4fc2\u3082\u697d\u306b\u66f8\u3051\u308b\u3057\u3001\u5b9f\u884c\u901f\u5ea6\u3082\u65e9\u3044\u3057\u3001yaml_db\u306e\u6642\u306e\u7169\u96d1\u3055\u306f\u4e00\u6c17\u306b\u89e3\u6d88\u3055\u308c\u307e\u3057\u305f\u3002
\n\u4eca\u306e\u3068\u3053\u308d\u3001\u4e0a\u8a18\u904b\u7528\u3067\u4e0d\u6e80\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n


\n

RSpec\u306e\u3088\u3046\u306a\u30c6\u30b9\u30c8\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u76ee\u3067\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u306a\u3069\u3092\u78ba\u8a8d\u3059\u308b\u306e\u306f\u975e\u5e38\u306b\u5927\u4e8b\u3060\u3068\u601d\u3063\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3001\u30ea\u30a2\u30eb\u306b\u8fd1\u3044\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306f\u91cd\u8981\u3060\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n

\u4ee5\u4e0a\u3001\u958b\u767a\u7528\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u306e\u4f5c\u6210\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a66\u884c\u932f\u8aa4\u3057\u305f\u8a71\u3001\u3067\u3057\u305f\u3002<\/p>\n

Ruby on Rails\u3092\u6d3b\u7528\u3057\u305fWeb\u30b5\u30fc\u30d3\u30b9\u3084\u696d\u52d9\u30b7\u30b9\u30c6\u30e0\u958b\u767a<\/a>\u3092\u3054\u691c\u8a0e\u306e\u4f01\u696d\u69d8\u306f\u3001\u662f\u975eMMM\u306b\u3054\u76f8\u8ac7\u4e0b\u3055\u3044\u307e\u305b\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"

\u524d\u7530\u3067\u3059\u3002 \u4eca\u5e74\u306e\u51ac\u306f\u5bd2\u3044\u3067\u3059\u306d\u3002 \u30d7\u30c1\u6c37\u6cb3\u671f\u306b\u5165\u3063\u305f\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002 \u307f\u306a\u3055\u3093\u306f\u3001\u958b\u767a\u3059\u308b\u6642\u306e\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u4f5c\u6210\u306a\u3069\u306f\u3069\u306e\u3088\u3046\u306b\u3055\u308c\u3066\u3044\u307e\u3059\u3067\u3057\u3087\u3046\u304b\uff1f \u4eca\u56de\u306fRails\u3067\u3001\u30e2\u30c3\u30af\u30c7\u30fc\u30bf\u4f5c\u6210\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8272\u3005\u8a66\u884c\u932f\u8aa4\u3057\u305f\u7d50\u679c\u3092\u307e\u3068\u3081\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u65b9\u6cd51: dump\u30c7\u30fc\u30bf\u3092\u5165\u308c\u308b mysqldump\u3067\u5410\u304d\u51fa\u3057\u305fdump\u30c7\u30fc\u30bf\u3092\u5171\u6709\u3057\u3001\u5404\u958b\u767a\u74b0\u5883\u3067DB\u306b\u5165\u308c\u308b\u3001\u3068\u3044\u3046\u65b9\u6cd5\u3067\u3059\u3002 \u30e1\u30ea\u30c3\u30c8 […]<\/p>\n","protected":false},"author":1,"featured_media":826,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[42],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/241"}],"collection":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/comments?post=241"}],"version-history":[{"count":0,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/241\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/media\/826"}],"wp:attachment":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/media?parent=241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/categories?post=241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/tags?post=241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}