{"_id":"5703898d18ad001700a296bb","category":{"_id":"5703898d18ad001700a29691","version":"5703898d18ad001700a2968d","project":"56d43c20ffd25c150090e049","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-01T08:08:34.978Z","from_sync":false,"order":4,"slug":"datentypen","title":"Datentypen"},"project":"56d43c20ffd25c150090e049","__v":0,"version":{"_id":"5703898d18ad001700a2968d","project":"56d43c20ffd25c150090e049","__v":1,"hasDoc":true,"hasReference":true,"createdAt":"2016-04-05T09:46:53.342Z","releaseDate":"2016-04-05T09:46:53.342Z","categories":["5703898d18ad001700a2968e","5703898d18ad001700a2968f","5703898d18ad001700a29690","5703898d18ad001700a29691","5703898d18ad001700a29692"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.2.0","version":"1.2"},"user":"561f59254d67490d00804aa2","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-03-01T09:52:30.894Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":90,"body":"| Typ         | Beschreibung                         |\n| ----------- | ------------------------------------ |\n| reward      | Dankeschön                           |\n| investment  | Dankeschön in Form eines Investments |\n| donation    | Spende                               |\n| free_amount | Freie Unterstützung                  |\n\nJedes Item enthält zusätzlich folgende, vom Nutzer beim Funding ausgewählte Meta-Daten.\n\n| Parameter                                       | Typ                                          | Beschreibung                                                                        |\n| ----------------------------------------------- | -------------------------------------------- | ----------------------------------------------------------------------------------- |\n| type                                            | Enum | Typ des ausgewählten Items                                                          |\n| quantity                                        | Int                                          | Anzahl des Items                                                                    |\n| amount                                          | float                                        | type=donation: Betrag der Spende   \ntype=free_amount: Betrag der freien Unterstützung |\n| freeoption_text                                 | String                                       | Eingabe des Nutzers des freeoption-Feldes (nur bei type=reward und type=investment) |\n| reward                                          | _Incentive_                                  | Ausgewähltes Dankeschön                                                             |\n| investment                                      | _Incentive_                                  | Ausgewähltes Investment                                                             |\n\nBei einem Funding sind folgende Kombinationen von Items erlaubt:\n\n* reward, free_amount\n* investment, free_amount\n* reward, donation,\n* investment, donation\n\nEs kann dementsprechend keine Items vom type=investment und type=reward in einem Funding existieren.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n        \\\"funding\\\":\\n            {\\n                \\\"id\\\": funding-id,\\n                \\\"created\\\": timestamp,\\n                \\\"amount\\\": reward-amount,\\n                \\\"text\\\": funding-user-text,\\n                \\\"bill_address\\\": funding-bill-address,\\n                \\\"delivery_address\\\": funding-delivery-address,\\n                \\\"supporter\\\":\\n                    {\\n                          \\\"id\\\": id,\\n                          \\\"name\\\": user-name,\\n                          \\\"image\\\":[\\n                              {\\n                                  \\\"size\\\":tiny_square,\\n                                  \\\"url\\\": url\\n                              },\\n                              {\\n                                  \\\"size\\\":thumb_square\\n                                  \\\"url\\\": url\\n                              }]\\n                    },\\n                \\\"project\\\":\\n                    {\\n                        \\\"id\\\": project-id,\\n                        \\\"title\\\": project-title,\\n                        \\\"status\\\": project-status,\\n                    },\\n                \\\"funding_items\\\":[\\n                    {\\n                        \\\"type\\\": position-type,\\n                        \\\"quantity\\\": position-quantity,\\n                        \\\"amount\\\": position-amount,\\n                        \\\"freeoption_text\\\": reward-freeoption-text,\\n                        \\\"reward\\\":\\n                            {\\n                                \\\"id\\\": incentive-id,\\n                                \\\"title\\\": incentive-title,\\n                                \\\"amount\\\": incentive-amount,\\n                                \\\"description\\\": incentive-description,\\n                                \\\"stock\\\": incentive-stock,\\n                                \\\"orders\\\": incentive-orders,\\n                                \\\"freeoption_text\\\": incentive-freeoption-text,\\n                                \\\"image\\\":[\\n                                    {\\n                                        \\\"size\\\": medium,\\n                                        \\\"url\\\": url\\n                                    },\\n                                    {\\n                                        \\\"size\\\": large,\\n                                        \\\"url\\\": url\\n                                    }]\\n                            }\\n                        \\\"investment\\\":\\n                            {\\n                                \\\"id\\\": incentive-id,\\n                                \\\"title\\\": incentive-title,\\n                                \\\"amount\\\": incentive-amount,\\n                                \\\"description\\\": incentive-description,\\n                                \\\"stock\\\": incentive-stock,\\n                                \\\"orders\\\": incentive-orders,\\n                                \\\"freeoption_text\\\": incentive-freeoption-text,\\n                                \\\"image\\\":[\\n                                    {\\n                                        \\\"size\\\": medium,\\n                                        \\\"url\\\": url\\n                                    },\\n                                    {\\n                                        \\\"size\\\": large,\\n                                        \\\"url\\\": url\\n                                    }]\\n                            }\\n                    },\\n                    {...}]\\n            }\\n    }\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"itemtypen","type":"basic","title":"Itemtypen"}
| Typ | Beschreibung | | ----------- | ------------------------------------ | | reward | Dankeschön | | investment | Dankeschön in Form eines Investments | | donation | Spende | | free_amount | Freie Unterstützung | Jedes Item enthält zusätzlich folgende, vom Nutzer beim Funding ausgewählte Meta-Daten. | Parameter | Typ | Beschreibung | | ----------------------------------------------- | -------------------------------------------- | ----------------------------------------------------------------------------------- | | type | Enum | Typ des ausgewählten Items | | quantity | Int | Anzahl des Items | | amount | float | type=donation: Betrag der Spende type=free_amount: Betrag der freien Unterstützung | | freeoption_text | String | Eingabe des Nutzers des freeoption-Feldes (nur bei type=reward und type=investment) | | reward | _Incentive_ | Ausgewähltes Dankeschön | | investment | _Incentive_ | Ausgewähltes Investment | Bei einem Funding sind folgende Kombinationen von Items erlaubt: * reward, free_amount * investment, free_amount * reward, donation, * investment, donation Es kann dementsprechend keine Items vom type=investment und type=reward in einem Funding existieren. [block:code] { "codes": [ { "code": "{\n \"funding\":\n {\n \"id\": funding-id,\n \"created\": timestamp,\n \"amount\": reward-amount,\n \"text\": funding-user-text,\n \"bill_address\": funding-bill-address,\n \"delivery_address\": funding-delivery-address,\n \"supporter\":\n {\n \"id\": id,\n \"name\": user-name,\n \"image\":[\n {\n \"size\":tiny_square,\n \"url\": url\n },\n {\n \"size\":thumb_square\n \"url\": url\n }]\n },\n \"project\":\n {\n \"id\": project-id,\n \"title\": project-title,\n \"status\": project-status,\n },\n \"funding_items\":[\n {\n \"type\": position-type,\n \"quantity\": position-quantity,\n \"amount\": position-amount,\n \"freeoption_text\": reward-freeoption-text,\n \"reward\":\n {\n \"id\": incentive-id,\n \"title\": incentive-title,\n \"amount\": incentive-amount,\n \"description\": incentive-description,\n \"stock\": incentive-stock,\n \"orders\": incentive-orders,\n \"freeoption_text\": incentive-freeoption-text,\n \"image\":[\n {\n \"size\": medium,\n \"url\": url\n },\n {\n \"size\": large,\n \"url\": url\n }]\n }\n \"investment\":\n {\n \"id\": incentive-id,\n \"title\": incentive-title,\n \"amount\": incentive-amount,\n \"description\": incentive-description,\n \"stock\": incentive-stock,\n \"orders\": incentive-orders,\n \"freeoption_text\": incentive-freeoption-text,\n \"image\":[\n {\n \"size\": medium,\n \"url\": url\n },\n {\n \"size\": large,\n \"url\": url\n }]\n }\n },\n {...}]\n }\n }", "language": "json" } ] } [/block]